Home / lang / type / date 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  mk  sq  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
Date
Syntax
DIM Var AS Date

This native datatype represents a date & time value.

Dates are stored internally as a couple of integer numbers:

Date are stored in UTC. They are converted to local time only when being displayed.

Dates can be converted to numbers. Then the number returned is the number of days stored internally and the fraction of day represented by the number of microseconds.

Examples

PRINT Now;; "-";; CFloat(Now)

07/13/2005 02:20:08 - 2485669.138981

See also

Datatypes