- Posts: 31
Miltary Time
- Joe
- Topic Author
- Offline
- User
Less
More
7 years 8 months ago #3171
by Joe
Miltary Time - Post(3171) was created by Joe
Is there a way to format a time as military time?
4:00 AM would be 0400
4:00 PM would be 1600
4:00 AM would be 0400
4:00 PM would be 1600
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
7 years 8 months ago #3172
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Miltary Time - Post(3172)
Hi Joe,
There are two options available to output date/time or nummeric values with different formats. First you can use the standard format settings in the (first) WRITE Adapter. With this settings are all dynamical conversion from any data type to FlowHeater data type STRING are format like this.
Or you can use the String Format Heater to output just one output field with an individual custom format.
For both you have to use the following format settings for TIME data types "HHmm".
HH = hour from 00-23
mm = minutes from 00-59
You´ll find a short example how to output time values with military format.
There are two options available to output date/time or nummeric values with different formats. First you can use the standard format settings in the (first) WRITE Adapter. With this settings are all dynamical conversion from any data type to FlowHeater data type STRING are format like this.
Or you can use the String Format Heater to output just one output field with an individual custom format.
For both you have to use the following format settings for TIME data types "HHmm".
HH = hour from 00-23
mm = minutes from 00-59
You´ll find a short example how to output time values with military format.
Best wishes
Robert Stark
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.260 seconds