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.

Change Time Stamp to Date

Featured Replies

Hi Everyone,

How do I change this timestamp ...
2017-08-12 08:24:55 -0500

to this type of date format ...
08-12-2017

?

Thanks for your help. :-) 

 

See if this works.

Let ( [
	ts = yourTimeStamp_Field ;
	m  = Middle ( ts ; 6 ; 2 ) ;
	d  = Middle (  ts ; 9 ; 2 ) ;
	yr = left ( ts ;  4 )
];
	m  & "-" & d & "-" &yr 
)

 

  • Author

Lee ... You're Great :-) No problem for a FileMaker master like you! Thanks.

Lee's example is great for teaching you how to think and build a calculation.

If you don't want to do it yourself, Brian Dunning's site has a large number of custom functions that might have what you're looking for. http://www.briandunning.com/filemaker-custom-functions/ 

So in a case like this I'd search for timestamp and go through and see if there was one that accomplish what I need, so I don't have to write one from scratch.

I get it, some people like to write everything from scratch. I'm more a re-use type of person to save time.

Hi Agnes,

You make a good point.

1 hour ago, Agnes Riley said:

I'm more a re-use type of person to save time.

Me to.

However, I did looked for this particular pattern and didn't spot one right away, so I just wrote it out.

Oh, I did not check whether this thing exists. I just wanted to ket them know about the resource.

Hi Agnes,

I do that too. 

Lee

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.