Date Format

24 views
Skip to first unread message

Andrea Nenci

unread,
Jul 16, 2015, 10:14:47 AM7/16/15
to asp...@googlegroups.com
Hy,
I have a DateTime Fieldin a MicrosoftSQL Server DB. 
With an asp script I extract this field with a query and send back in Json format using toJSON() to a page that call the script with an Ajax call.
The date in the Db is something like that : 
2015-07-16 10:04:19.020
but the date that coming back to my page is:
16/07/2015 10:04:19

The problem is that i loose millisecond and this is an important information for me.
How can i solve this?

Thanks all

deepak madheshiya

unread,
Jul 16, 2015, 10:18:16 AM7/16/15
to asp...@googlegroups.com

Hold date in a var during passing ajax as string

--

---
You received this message because you are subscribed to the Google Groups "JSON for ASP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aspjson+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages