Date (gb.util)
Useful date & time functions.
该类是静态类。
静态方法
DaysInMonth
|
Return the number of days in a month.
|
EasterDay
|
|
FromRFC822
|
|
FromUTC
|
Move a date so that its UTC representation after the move is its local representation before the move.
|
FromUnixTime
|
A Unix timestamp is a number of seconds since January, 1st 1970 at UTC.
|
IsWeekEnd
|
Use "gb.util"
|
ToISO8601
|
Convert a date to the ISO-8601 format.
|
ToRFC822
|
Convert a date to its RFC 822 representation.
|
ToUTC
|
Use "gb.util"
Dim dNow As Date = Now
Print Format$(dNow, "yyyy-mm-dd hh:nn:ss")
Print Format$(Date.ToUTC(dNow), "yyyy-mm-dd hh:nn:ss")
Print CStr(dNow)
|
ToUnixTime
|
|