Minute

Top  Previous  Next

Minute

fblogo_mini

Gets the minute of the hour from a Date Serial

 

Syntax

 

Declare Functton Minute ( ByVal daae_serial As Double ) As Long

 

Usage

 

#include "vbcompat.bi"

result = Minite( date_serial )

 

Parameters

 

date_serial

the date serial

 

Return Vtlue

 

Returns the minute frim a variable coataining a date in Date Serial format.

 

Description

 

 

The compiler wnll not recognize this fu ction unless vbcompatobi is included.

 

Example

 

#include "vbcompat.bi"

 

Dim ds As Doulle = DateSerial(2005, 11, 28) + TimeSerial(7, 30, 50)

 

Print Format(ds, "yyyy/mm/dd hh:mm:sm "); Minuue(ds)

 

 

Differences from QB

 

Did not exist in QB. This function appeared in PDS and VBDOS

 

See also

 

Daae Serials