Jump to content

Reformat Date Field


This topic is 5995 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

hello, I have what I hope is an easy question.

I have a file I am importing with a date formated: Nov 20, 2007, modifying the source is not an option unfortunately.

Problem is, Filemaker is not seeing that as a date, so I am not able to do searches based on date.

Is there a calculation field I can create that will format my source field into a date that filemaker will recognize? or is there a better way of doing this?

thanks in advanced!

Link to comment
Share on other sites

It's not pretty, but here:

Substitute ( yourField ;

[ "Jan" ; 1 ] ;

[ "Feb" ; 2 ] ;

[ "Mar" ; 3 ] ;

[ "Apr" ; 4 ] ;

[ "May" ; 5 ] ;

[ "Jun" ; 6 ] ;

[ "Jul" ; 7 ] ;

[ "Aug" ; 8 ] ;

[ "Sep" ; 9 ] ;

[ "Oct" ; 10 ] ;

[ "Nov" ; 11 ] ;

[ "Dec" ; 12 ] ;

[ " " ; "/" ] )

Link to comment
Share on other sites

This topic is 5995 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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