MartinaL Posted June 25, 2007 Posted June 25, 2007 I am having an issue with the DayOfWeekName function. I have a field set to show the day of the week name with the following formula - DayOfWeekName(gdTempDate), gdTempDate is the 01/09/2007 which is a Saturday and the field is returing Sunday?
Vaughan Posted June 25, 2007 Posted June 25, 2007 It depends on where you are -- 01/10/2007 could either be January 10 or October 1. Look at your OS region or language settings. The gdTempDate field needs to be of type date, not text. September is the 9th month of the year.
MartinaL Posted June 25, 2007 Author Posted June 25, 2007 I know, i wrote 01/10/2007 to start with then updated the post because it is actually the 1st of September that I am having a problem with. OS settings are set correctly for Australia so dd/mm/yyyy
Vaughan Posted June 25, 2007 Posted June 25, 2007 Foe FMP 6 the calc should be DayName( gdTempDate ) As a test, change the calc to DayName( Date( 9, 1, 2007 ) ) to hard-code 1 September 2007 into the function and see what it comes up with. Only other suggestion is to make sure you're running FMP 6.0v4 and not an earlier buggy version.
Recommended Posts
This topic is 6422 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