telly Posted July 28, 2019 Report Share Posted July 28, 2019 Hi - I need help on combine my Date and auto-number field in my formula. I have this formula: [@field:Birthday] + [@field:Age], and it is just adding the age to date. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
0 SunakoChan Posted July 28, 2019 Report Share Posted July 28, 2019 Hi, For you to be able to combine the two fields not to add, first you need to convert the fields to Text field. Here is the formula for that: CONVERT(VARCHAR(10), ([@field:Birthday]), 101)+' '+ CONVERT(VARCHAR, [@field:Age]) Quote Link to comment Share on other sites More sharing options...
0 telly Posted July 28, 2019 Author Report Share Posted July 28, 2019 Hi @SunakoChan- Thank you so much, is it possible to get only the month or year of the birthday field? Quote Link to comment Share on other sites More sharing options...
0 SunakoChan Posted July 28, 2019 Report Share Posted July 28, 2019 Hello, You can use this formula to get the MONTH or YEAR of the Date field. CONVERT(VARCHAR(10), MONTH([@field:Birthday]), 101)+' '+ CONVERT(VARCHAR, [@field:ID]) or CONVERT(VARCHAR(10), YEAR([@field:Birthday]), 101)+' '+ CONVERT(VARCHAR, [@field:ID]) Quote Link to comment Share on other sites More sharing options...
0 SunakoChan Posted July 28, 2019 Report Share Posted July 28, 2019 Hallo, For additional information for converting the Date/Time field and for getting the month and year check this link: https://stackoverflow.com/questions/74385/how-to-convert-datetime-to-varcharhttps://howto.caspio.com/function-reference/ Quote Link to comment Share on other sites More sharing options...
Question
telly
Hi - I need help on combine my Date and auto-number field in my formula.
I have this formula: [@field:Birthday] + [@field:Age], and it is just adding the age to date.
Thank you in advance.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.