Dynamic data import / export

datenbank

simply more productive
Up to 100,000 records can be processed with the freeware version!
Welcome, Guest
Username: Password: Remember me
Welcome to the FlowHeater support forum.

Questions about using FlowHeater are answered here.
  • Page:
  • 1

TOPIC: Miltary Time

Miltary Time 7 months 1 week ago #3171

  • Joe
  • Joe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
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.

Miltary Time 7 months 1 week ago #3172

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 275
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-military-output-format.zip
File Size: 2 KB
Attachments:

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

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.
  • Page:
  • 1
Moderators: FlowHeater-Team
Time to create page: 0.424 seconds