Recent question on this side of the firewall…

 

Want a datetime in this format?

2004-06-21T11:29:01.9346744-08:00

 

In .NET Framework 2.0: DateTime.ToString(“o”) ;

In .NET Framework 1.0\1.1: DateTime.ToString(“yyyy-MM-ddTHH:mm:ss.fffffffzzz”);