search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Date format

Asked by John
14 years ago.


I;m following the code to create a popup window for a new event. The output from the scheduler to the output window for the start date is

Sun,18 May 2008 00:00:00 UTC

Is there a way of geting the output to UK format 18/05/2008 ?

(I just need days)

Or do I have to parse it?



Comment posted by Dan Letecky
14 years ago.
I would suggest passing it in sortable format (that's what DayPilot.ds() method does in this example). The popup aspx should read the URL parameters. The sortable format will be readable directly using Convert.ToDateTime.

It could look like this:

InputStart.Text = Convert.ToDateTime(Request.QueryString["start"]).ToString("d")

Just replace ToString("d") with the format you prefer.
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.