Framework:FKT GetDate: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
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.  


FKT_GetDate (<DATEONLY DATEANDTIME COPDATEYEAR COPDATEMONTH COPDATEDAY>)
<span {{CoPFormel}}>FKT_GetDate (<DATEONLY DATEANDTIME COPDATEYEAR COPDATEMONTH COPDATEDAY>)</span>


{| cellspacing="1" cellpadding="3" width={{{breite|80%}}}  border="1"
{| class="wikitable" width="80%"
|-
|- {{Tabellentitel}}
| style=background-color:#f6f6f6 |'''Konstanten'''
| Constant
| style=background-color:#f6f6f6 |'''Beschreibung
| Description
|-
|-
|DATEONLY
|DATEONLY
Line 25: Line 25:
|COPSYS date day (example: 2005022804)
|COPSYS date day (example: 2005022804)
|}
|}
This function belongs to [[:Category:Functions_-_server-side|server-side functions]].


If an invalid constant is applied, DATEONLY is used as default.  
If an invalid constant is applied, DATEONLY is used as default.  
Line 31: Line 32:
__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Functions|GetDate]]
[[Category:Functions_-_server-side|GetDate]]
[[Category:Functions_-_server-side|GetDate]]
[[de:Framework:FKT GetDate]]
[[de:Framework:FKT GetDate]]

Latest revision as of 08:36, 24 May 2012

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>)

Constant Description
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)

This function belongs to server-side functions.

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