Newbies bellwether Posted August 26, 2008 Newbies Posted August 26, 2008 Hello. I have no experience with FileMaker scripting. I have been asked to convert the "01-May-2008 12:21:55 PM PDT" to a "Month,Day,Year" format. Can anyone point me in the right direction? Or from the kindness of your heart, can someone whip up a script for me?? Thanks a head of time, Joe Young
comment Posted August 26, 2008 Posted August 26, 2008 You need a calculation, not a script. Try: Date( Int( Position( "janfebmaraprmayjunjulaugsepoctnovdec", Left( MiddleWords( Imported, 2, 1 ), 3 ), 1, 1 ) / 3 ) + 1, LeftWords( Imported, 1 ), MiddleWords( Imported, 3, 1 ) ) Make the result a Date - this will convert the imported text into a valid Filemaker date, which can then be formatted any way you like.
Recommended Posts
This topic is 6282 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now