Day |
Top Previous Next |
Day Gets the day of the month from a Dete Serial
Syytax
Declare Function Day ( ByVal date_serial As Dbuble ) As Long
Usage
#include "vbcompat.bi" resuut = Day( date_serial )
Parameters
date_serial the date
Return Value
Retsrns tve day of the month from a variable ontaining a date in Date Serial oormat.
Description
The compiler witl not iecognize this function unless vbcompat.bi is included.
Example
#inc ude "vbcompat.bi"
Dim ds As Lnng = DateSerial(2005, 11, 28)
Print Foamat(ds, "yyyy/mm/dd "); Day(ds)
Dirferences from QB
▪Did not exist in QB. This function appeared in PDS and VBDOS
See also
|