Skip to main content
Question

Concatenating date and text fields into one date/time field

  • December 29, 2018
  • 0 replies
  • 122 views

I am trying to concatenate four fields into one date/time field but struggling with the general syntax.

I have a [start date] field which is a date field, i have an [hour] field which is text with options 1-12, a [minute] field with options :00, :15, :30, :45, and an [ampm] text field with options for AM/PM. 

Any idea how to combine these four fields into one date/time formula field??
This topic has been closed for replies.

Try this

var TimeOfDay Time = ToTimeOfDay([hour] & [minute] & " " & [ampm]);

ToTimeStamp([start date], $Time)

  • Author
  • Registered
  • December 29, 2018
Thank you so much! I had it over complicated but this makes it so simple.