Logo

Programming-Idioms

History of Idiom 61 > diff from v26 to v27

Edit summary for version 27 by :
New Csharp implementation by user [bdadams]

Version 26

2016-01-01, 01:37:11

Version 27

2016-02-16, 18:39:12

Idiom #61 Get current date

Assign to variable d the current date/time value, in the most standard type.

Idiom #61 Get current date

Assign to variable d the current date/time value, in the most standard type.

Code
DateTime d = DateTime.Now;