Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

iso date format c#

var newTime = theTime.UtcNow.ToString("o");
// returns "2017-06-26T00:00:00.0000000Z"

var newTime2 = theTime.Date.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.sssZ");
// returns "2017-06-26T00:00:00.00Z"
Comment

c# datetime iso 8601 format

var newTime = theTime.Date.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffZ");
// returns "2017-06-26T00:00:00.000Z"
Comment

PREVIOUS NEXT
Code Example
Csharp :: overload indexer c# 
Csharp :: c# unity camera follow 
Csharp :: generate a random number in c# 
Csharp :: gcd c# 
Csharp :: orderbyascending c# 
Csharp :: trnasform ubnity 
Csharp :: how to get desktop name in c# 
Csharp :: play sound unity 
Csharp :: c# serviceCollection AddLogging 
Csharp :: clear array c# 
Csharp :: void on collision enter 2d 
Csharp :: Create gaps / headers between variables in the unity inspector 
Csharp :: solve fizzbuz c# 
Csharp :: c# start process and wait for exit code 
Csharp :: move object to mouse unity 
Csharp :: lump in neck under jaw 
Csharp :: c# get random double in range 
Csharp :: How to get the world position of the edge of an object? 
Csharp :: debug.log unity 
Csharp :: unity click on 2d object 
Csharp :: wpf scrollviewer mouse wheel 
Csharp :: ggdesign 
Csharp :: c# run file 
Csharp :: unity change particle system sorting layer via script 
Csharp :: how to change loaded scene in unity 
Csharp :: unity random range 
Csharp :: WebClient c# with custom user agent 
Csharp :: open folder dialog c# 
Csharp :: c# get the last item in a list 
Csharp :: c# get enum value from string 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =