Component: Time Stamp (Runtime Tools): Difference between revisions
Appearance
No edit summary |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| Line 85: | Line 91: | ||
==Macro reference== | ==Macro reference== | ||
=== | ===GetDate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetDate''' | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | Returns the current system date as a string in the selected format. | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING | |||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | |||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
=== | ===GetStr=== | ||
{| class="wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" class="mtx-class-macrohead" | '''GetStr''' | |||
|- | |||
| colspan="2" | Allows a single time or date value to be returned as a two character string. | |||
|- | |- | ||
|- | |- | ||
| | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
| width="90%" | Index | |||
|- | |- | ||
| colspan="2" | 0: Sec, 1: Min, 2: Hour, 3: Day, 4: Month, 5: Year | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING | ||
| Line 119: | Line 125: | ||
===GetTime=== | ===GetTime=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetTime''' | ||
|- | |- | ||
| colspan="2" | Returns the current system time as a string in the format of "HH MM SS" | | colspan="2" | Returns the current system time as a string in the format of "HH MM SS" | ||
| Line 132: | Line 138: | ||
=== | ===GetTimeStamp=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetTimeStamp''' | ||
|- | |- | ||
| colspan="2" | Returns the current system date | | colspan="2" | Returns the current system date and time combined into a single string. | ||
|- | |- | ||
|- | |- | ||
| Line 146: | Line 152: | ||
=== | ===GetValue=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetValue''' | ||
|- | |- | ||
| colspan="2" | Allows a single time or date value to be returned | | colspan="2" | Allows a single time or date value to be returned. | ||
|- | |- | ||
|- | |- | ||
| Line 158: | Line 164: | ||
| 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'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 13 July 2026
| 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 to download the component source project: FC_Comp_Source_TimeStamp.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TimeStamp.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetDate
| GetDate | |
| Returns the current system date as a string in the selected format. | |
| Return | |
GetStr
| 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 | |
GetTime
| GetTime | |
| Returns the current system time as a string in the format of "HH MM SS" | |
| Return | |
GetTimeStamp
| GetTimeStamp | |
| Returns the current system date and time combined into a single string. | |
| Return | |
GetValue
| 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 | |