Expand my Community achievements bar.

How do I format a date?

Avatar

Former Community Member

I'm loading the current date into a field on the initialize event.  I would like to format the date to MM/DD/YYYY.  That doesn't seem to be one of the four possible formats for a date.  How do I make it valid?

1 Reply

Avatar

Former Community Member

One of my project team found a method that works.  In the initialize event she did this:

    $.rawValue = Concat(Num2Date(Date(), "MM/DD/YYYY"))

It works.