Difference between revisions of "Component: Time Stamp (Simulation)"

From Flowcode Help
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 29: Line 29:
  
 
===<span style="font-weight: normal;"><u><tt>GetTimeStamp</tt></u></span>===
 
===<span style="font-weight: normal;"><u><tt>GetTimeStamp</tt></u></span>===
''<span style="color:red;">No additional information</span>''
+
Returns the current system date and  time as a string in the format of "DD/MM/YY - HH:MM:SS" or "MM/DD/YY - HH:MM:SS"
 
 
 
 
  
 
'''Parameters'''
 
'''Parameters'''
Line 57: Line 55:
  
 
===<span style="font-weight: normal;"><u><tt>GetDate</tt></u></span>===
 
===<span style="font-weight: normal;"><u><tt>GetDate</tt></u></span>===
Returns the current system date as a string in the format of "DD/MM/YY"
+
Returns the current system date as a string in the format of "DD/MM/YY" or "MM/DD/YY"
  
 
'''Parameters'''
 
'''Parameters'''
Line 69: Line 67:
  
  
 +
==Property reference==
 +
<span style="font-weight: normal;"><u>US Date Format</u></span>
 +
 +
This property is of type ''True or false'' and can be referenced with the variable name ''USDate''.
 +
 +
Specifies the format of the date string.
  
 +
No - "DD/MM/YY"
  
==Property reference==
+
Yes - "MM/DD/YY"
''This component does not contain any properties''
 

Latest revision as of 13:27, 24 May 2018


Author Matrix TSL
Version 1.0 (Release)
Category Simulation


Image Time Stamp component

A simple simulation component to collect the current system timestamp as a string.

Examples

No additional examples


Downloadable macro reference

This component does not contain any downloadable macros

Simulation macro reference

GetTimeStamp

Returns the current system date and time as a string in the format of "DD/MM/YY - HH:MM:SS" or "MM/DD/YY - HH:MM:SS"

Parameters

This macro has no parameters


Return value

STRING


GetTime

Returns the current system time as a string in the format of "HH:MM:SS"

Parameters

This macro has no parameters


Return value

STRING


GetDate

Returns the current system date as a string in the format of "DD/MM/YY" or "MM/DD/YY"

Parameters

This macro has no parameters


Return value

STRING


Property reference

US Date Format

This property is of type True or false and can be referenced with the variable name USDate.

Specifies the format of the date string.

No - "DD/MM/YY"

Yes - "MM/DD/YY"