Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

GetDate

Use this function to store the current date, in calendar format, in a symbol. You can use Julian date functions to convert the date to a serial number that can be used in calculations. You may find this function useful for keeping track of System Events.

Copy

Syntax

GETDATE(["Format"])                            

where:

  • Format is the formula for another method of returning a date, such as “dd/mm/yyyy”. This enables the user to have date information returned in the format appropriate to their region. If this parameter is not specified, the default “yyyy-mm-dd” format is followed.
Copy

Syntax example

CurrDate=GETDATE()
CurrDate=GETDATE("yy/mm/dd")        

Published:

GetDate

Use this function to store the current date, in calendar format, in a symbol. You can use Julian date functions to convert the date to a serial number that can be used in calculations. You may find this function useful for keeping track of System Events.

Copy

Syntax

GETDATE(["Format"])                            

where:

  • Format is the formula for another method of returning a date, such as “dd/mm/yyyy”. This enables the user to have date information returned in the format appropriate to their region. If this parameter is not specified, the default “yyyy-mm-dd” format is followed.
Copy

Syntax example

CurrDate=GETDATE()
CurrDate=GETDATE("yy/mm/dd")        

For an optimal Community experience, Please view on Desktop