Framework:GetDate

From CoPlanner 10
Jump to navigationJump to search

Function

GetDate(

Parameter Description
time constant
  • DATEONLY Current day short(22.09.2010)
  • DATEANDTIME Current day and time(03.08.2010 14:20:15)
  • COPDATEYEAR Current day, year TimeID (2010080101)
  • COPDATEMONTH Current day, month TimeID (2010080103)
  • COPDATEDAY Current day, day TimeID (2010080305)
  • COPDATECW Current day, week TimeID (2010080304)

This function belongs to client-side functions.

Result

Returns the date according to time constant.

Example

GetDate(DATEONLY)