Click here to Skip to main content
15,893,564 members

Response to: How to get the date time of client PC in asp.net C#?

Latest Revision
You can use JavaScript for getting the date time of client. try this:

Date time using javascript[^]

After collecting the date & time from javascript, hold this date time value in a asp:HiddenField control so this(date & time) can be read on the server. On the server, call Convert.ToDateTime() on the Text value of your HiddenField.

hope it helps :)
Posted 17-Oct-11 7:30am by Uday P.Singh.
Tags: ,