Jump to content

Component: Time Stamp (Runtime Tools): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 15: Line 15:
A simple simulation component to collect the current system timestamp as a string.
A simple simulation component to collect the current system timestamp as a string.


==Component Pack==
==Component Source Code==


FREE
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_TimeStamp.fcfx FC_Comp_Source_TimeStamp.fcfx]


==Detailed description==
==Detailed description==




Line 34: Line 36:


==Examples==
==Examples==




Line 62: Line 66:
| width="90%" | Index
| width="90%" | Index
|-
|-
| colspan="2" | 0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year 
| colspan="2" | 0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year, 6: Millisecs 
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}
Line 160: Line 164:
|-
|-
| colspan="2" | Allows milliseconds to be included in the timestamp 
| colspan="2" | Allows milliseconds to be included in the timestamp 
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
|-
|}
|}

Revision as of 17:51, 9 November 2022

Author Matrix TSL
Version 1.2
Category Runtime Tools


Time Stamp component

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

Component Source Code

Please click here for the component source code: FC_Comp_Source_TimeStamp.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

GetValue
Allows a single time or date value to be returned. 
- BYTE Index
0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year, 6: Millisecs 
- UINT Return


GetTimeStamp
Returns the current system date and time combined into a single string. 
- STRING Return


GetTime
Returns the current system time as a string in the format of "HH MM SS" 
- STRING Return


GetDate
Returns the current system date as a string in the selected format. 
- STRING Return


GetStr
Allows a single time or date value to be returned as a two character string. 
- BYTE Index
0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year 
- STRING Return



Property reference

Properties
Date Format
Specifies the format of the date string. No - "DD/MM/YY" Yes - "MM/DD/YY"  
Time Separator
Characters that are used in between the time digits 
Date Separator
Characters that are used in between the date digits 
TimeStamp Separator
Characters that are used between the time and date strings when returning a full time stamp. 
Include Milliseconds
Allows milliseconds to be included in the timestamp