How to express time in ISO 8601 format?
DateTime myTimestamp = DateTime.Now;
string t = String.Format("{0:u}",myTimestamp);
t = t.Remove(19,1);
string s = String.Format("{0}.{1:fff}Z",t,myTimestamp);
Subscribe to:
Post Comments (Atom)
Let us find out answers for commonly asked IT questions…
No comments:
Post a Comment