Component: Time Stamp (Runtime Tools): Difference between revisions
Appearance
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 | ==Component Source Code== | ||
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- | | 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 | ||
|} | |} | ||
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. | |
| Index | |
| 0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year, 6: Millisecs | |
| Return | |
| GetTimeStamp | |
| Returns the current system date and time combined into a single string. | |
| Return | |
| GetTime | |
| Returns the current system time as a string in the format of "HH MM SS" | |
| Return | |
| GetDate | |
| Returns the current system date as a string in the selected format. | |
| Return | |
| GetStr | |
| Allows a single time or date value to be returned as a two character string. | |
| Index | |
| 0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year | |
| Return | |