Skip to Content
0
Former Member
Jun 04, 2009 at 04:25 PM

Parse a value from text to Date

18 Views

Hello everybody,

I have a little problem. I have a value in a store, that is a Date parsed to a string under this format : 'YYYY/MM/DD'

I need to display this string as default value in a date picker. So, I put default value of the date picker as "DVAL(STORE@date)" but it doesn't work.

For example, when the text in my store is "2009/06/04" the date picker display "November, 29 1909" and when I change the year, for example "2008/06/04", the date picker display "November, 30 1909"

Can somebody help me please to find the good parsing function ?

Thank you for advance.

Best regards,

Damien