FlowHeater - The Data Import / Export Specialist
See also the general examples available, which may answer your question: Hello World 1 / 2 / 3 , format numbers as character strings , simple If-Then-Else , complex If-Then-ElseIf , filtering and grouping data , consolidate grouped values

Miltary Time

  • Joe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
5 years 9 months ago #3171 by Joe
Miltary Time 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

Please Log in or Create an account to join the conversation.

5 years 9 months ago #3172 by FlowHeater-Team
Replied by FlowHeater-Team on topic Miltary Time
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.

File Attachment:

File Name: time-milit...rmat.zip
File Size:2 KB

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

Time to create page: 0.377 seconds

other Languages


FlowHeater Home

de en


Privacy Statement

Copyright © 2009-2023 by FlowHeater GmbH.
All rights reserved.

Follow us on

twitter  facebook


 de en