cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in 'Date' Formula

Former Member
0 Kudos
64

Hi All,

i have an input parameter of datatype 'Date'. The format of the parameter is 'mm/dd/yyyy' (selected from calendar control).

Now i need to display this in 'mm-dd-yyyy'.

i used the below formula:

ToText ({?dat},"MM-DD-YYYY");

The Result is 08-DD-YYYY for the input parameter 08/01/2008.

Kindly help me with the formula.

Thanks,

Meena

View Entire Topic
Former Member
0 Kudos

You can use Amr Salem's reply will help you to solve this.

You can use the following formula also:

ToText(Datetime({?date}), "MM-dd-yyyy")

I hope this solves your query!!

Regards,

Parsa.

Former Member
0 Kudos

Hi Ramesh,

Thanks a lot !! It definetely solved my problem ....

Hi Amr,

i was using the formula to display a dynamic header content.. thats why i was using formula .. Thanks for your response..

Meena