Skip to main content

What datetime format is this?

  • January 20, 2023
  • 3 replies
  • 152 views

Ashley_Jackson
Forum|alt.badge.img+17

I'm attempting to prep a table for import and need to recreate a concatenated formula field that includes a date field formatted like this:

Can anyone identify this format for me?  Thanks!

3 replies

Ben_Young1
Forum|alt.badge.img+22
  • Brainy
  • January 20, 2023

Hey @Ashley_Jackson
This seems like it may be ISO 8601 formatted.

The ISO 8601 format is: YYYY-MM-DD.
So value of 20230118000000 would become: 2023-01-18.
The trailing six zeros are your time value. The zeros are simply there because there's not a specified time value with your data.

Normally the formatting of the time would go: YYYY-MM-DD T HH:MM:SSZ.
And of course, the [-6:CST] is just your timezone.

 

 


Ashley_Jackson
Forum|alt.badge.img+17
  • Author
  • Inspiring
  • January 20, 2023

Hey @Ashley_Jackson
This seems like it may be ISO 8601 formatted.

The ISO 8601 format is: YYYY-MM-DD.
So value of 20230118000000 would become: 2023-01-18.
The trailing six zeros are your time value. The zeros are simply there because there's not a specified time value with your data.

Normally the formatting of the time would go: YYYY-MM-DD T HH:MM:SSZ.
And of course, the [-6:CST] is just your timezone.

 

 


Thanks Ben - I will look into this today and confirm.  Thanks!


Ashley_Jackson
Forum|alt.badge.img+17
  • Author
  • Inspiring
  • January 21, 2023

Hi Ben, I have been able to reproduce everything except two things:

  1. For some reason, my timestamp is loading as 00:01:00 instead of all zeroes
  2. The timezone at the end

Any suggestions for me?  Thanks!