Dates and Times Keywords

Action Keywords GB VB6
Get the current date or time as a date Date, Now, Time v v
Get the current date or time as a string Date$, Now$, Time$

DateTime

v

v

 
Date to day, month, weekday, or year Day, DayNo, Month, Weekday, Year v v
Time to hour, minute, or second Hour, Minute, Second v v
Perform date calculations DateAdd, DateDiff, DatePart v v
Return a date DateSerial, DateValue v v
Return a time TimeSerial, TimeValue v v
Extract Data and Timer DateToDmy, DateToDmyHms TimeToHms v v
Set the date or time Date, Time   v
Time a process OCX Timer, TimerQ v v
Performance timer _TimerFreq, Timer, oTimer, qTimer v  
Performance processor timer _RDTSC v  
C-time functions _time, _ctime v  

See Also

Conversion Keywords

Data Types Keywords

Miscellaneous Keywords

Operators Keywords

String Manipulation Keywords

Variables and Constants Keywords

{Created by Sjouke Hamstra; Last updated: 21/03/2020 by James Gaite}