Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Convert Odd Timestamp to Date

Featured Replies

I'm hoping someone can help me...  I'm trying to convert the following Timestamp to Date.  The timestamp format is: 2017-10-30T14:47:12-06:00 .  I've tried to simply use the Left function to make it 2017-10-30, but I still can't convert that to a regular date.  

Any advice?  Thank you!

  • Author

Yes, couldn't find one that works with my format

Hi JT

You could also use the Let Function, I like it because it is easier to read.

Let ( [
	~ts = yourTimeStampField
];
	Date ( Middle ( ~ts ; 6 ; 2 ) ; Middle ( ~ts ; 9 ; 2 ) ; Left ( ~ts ; 4 )
 ))

You can also just use the Date Function

Date ( 
Middle ( yourTSfield ; 6 ; 2 ) ; 
Middle ( yourTSfield ; 9 ; 2 ) ; 
Left ( yourTSfield ; 4 ) 
)

Be sure your Calculation result is a DATE.

BYW, this is the CF I was thinking of.

http://www.briandunning.com/cf/1526

Edited by Lee Smith
added the CF link and Date Function

  • Author

Thanks Lee!  Super big help!

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.