1

I want to show a date like this 01/12/2015 as 151201. I tried to do it with this formula: =Date.Substring(8,2)+Date.Substring(3,4)+Date.Substring(0,2) but it is not working. Could you please help me?

  • Sorry, the new text value should be "151201" – user89706 Mar 26 '15 at 17:00
1

Use this calculation instead: =Date.ToString("yyMMdd")

Cognito Forms supports basic date and time formatting options similar to how this works in the Microsoft .NET framework.

  • GREAT!!!!! Thank you so much!!!!!! – user89706 Mar 26 '15 at 17:35
  • 1
    Glad this helped! Please click on the checkmark next to answers on StackExchange that answer your original question. This helps other users know that the answer is correct. – Jamie Thomas Mar 26 '15 at 21:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.