Jimbojames30 Posted October 22, 2012 Posted October 22, 2012 Hi, getting really into my new filemaker database, but hitting a few blocks on the way, i would like to convert numbers into dates, in access i used Dateserial to convert it, for example is there a function to change '2102' to read 'February 2021' so in may database i get yymm as numbers but need to change them into a date any help would be greatly appreciated many thanks
comment Posted October 22, 2012 Posted October 22, 2012 In Filemaker, 'February 2021' is not a date. You can convert '2102' to either a text string 'February 2021', or to a specific date - say Feb 1, 2021 - which you can then format to display as 'February 2021'.
Jimbojames30 Posted October 22, 2012 Author Posted October 22, 2012 how would i go about specifing the date or creating a text string sorry for the newbie question, feel like im back at the begining again with databases
comment Posted October 22, 2012 Posted October 22, 2012 If you want to go the date route, make the calculation = Date ( Right ( YourField ; 2 ) ; 1 ; 2000 + Left ( YourField ; 2 ) ) and set the result type to Date. Place the field on the layout and custom-format it to display only the month name and the year. 1
Jimbojames30 Posted October 22, 2012 Author Posted October 22, 2012 I pray to the church of comment, many thanks once again, and thank you for the examples they really are helping me out cheers
Recommended Posts
This topic is 4472 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