Format date - session storage

Hi, i’m looking to take the date from a date picker and store the info to a new page. Everything works, apart form the date isn’t in the format I’m looking for (with all the time stamp on the end)

Before I start lots of adjusting, I was wondering should I format the date on the set.Item or get.Item and if anyone has some help with some easy code that would be ace.

I have already had a play with the API formatDate on these areas but can’t seem to get it to work. Also, the date isn’t coming from a dataset, it is being taken from the date picker itself on the page.

hi Stephan,

Currently the date picker does not allow to select time, only the date.
Therefore, it will always return the selected date at midnight.