Framework:FKT GetDate: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
==Function==
==[[Framework:Formulae#Functions|Function]]==


This function returns the current date or hour in the desired format which is defined by the parameter.  
This function returns the current date or hour in the desired format which is defined by the parameter.  

Revision as of 10:33, 15 July 2010

Function

This function returns the current date or hour in the desired format which is defined by the parameter.

FKT_GetDate (<DATEONLY DATEANDTIME COPDATEYEAR COPDATEMONTH COPDATEDAY>)

Konstanten Beschreibung
DATEONLY Date without hour (example: 28.02.2005)
DATEANDTIME Date with hour (example: 28.02.2005 10:52:22)
COPDATEYEAR COPSYS date year (example: 2005010101)
COPDATEMONTH COPSYS date month (example: 2005020103)
COPDATEDAY COPSYS date day (example: 2005022804)

If an invalid constant is applied, DATEONLY is used as default.