shoily Posted April 17, 2010 Posted April 17, 2010 I know how to change the way a date displays in FileMaker -- 4/17/2010 and April 17, 2010. That's NOT my question. I want to send a email from FM with date displayed as April 17, 2010 so that international customers can easily understand it.
LaRetta Posted April 17, 2010 Posted April 17, 2010 One option is to use a a SQL date because it is understood by everyone and it is considered the standard universally: // SQL date YYYY-MM-DD Let ( [ y = Year ( date ) ; m = SerialIncrement ( "00" ; Month ( date ) ) ; d = SerialIncrement ( "00" ; Day ( date ) ) ] ; y & "-" & m & "-" & d ) ... and no matter the OS settings, FM can (I believe) properly interpret and translate the dates appropriately since we are using Date() functions.
IdealData Posted April 18, 2010 Posted April 18, 2010 Make a calculation field and use that in your email: Month (date) & " " & Day (date) & ", " & Year (date)
LaRetta Posted April 18, 2010 Posted April 18, 2010 I see what you're getting at, Mark. Thanks for the catch! I was assuming that the standard date is misinterpreted (3/1/2010 and 1/3/2010). I think you mean MonthName() there.
shoily Posted April 19, 2010 Author Posted April 19, 2010 I wrote the original question and these responses don't make much sense to me. The dates 3/1/2010 and 1/3/2010 ARE often misunderstood by my international customers. I need to generate an email from within FM using this field: Date of Next Invoice = 8/1/2010. Right now, the field is set up as an "Auto-enter Data."
LaRetta Posted April 19, 2010 Posted April 19, 2010 (edited) As IdealData suggested, you must create a new calculation (result is text): To get April 19, 2010: Let ( [ dte = DateOfNextInvoice ; y = Year ( dte ) ; m = MonthName ( dte) ; d = Day ( dte ) ] ; m & " " & d & ", " & y ) To get 2010-04-19: Let ( [ dte = DateOfNextInvoice ; y = Year ( dte ) ; m = SerialIncrement ( "00" ; Month ( dte ) ) ; d = SerialIncrement ( "00" ; Day ( dte) ) ] ; y & "-" & m & "-" & d ) Edited April 19, 2010 by Guest Changed to different field name
shoily Posted April 20, 2010 Author Posted April 20, 2010 By George I think she's got it! ~ My Fair Lady (1965 movie) Thanks ever so much.
Recommended Posts
This topic is 5389 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