Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

new datetime c#

DateTime DT = new DateTime();// this will initialze variable with a date(01/01/0001) and time(00:00:00).

DateTime DT = new DateTime(2019,05,09,9,15,0);// this will initialize variable with a specific date(09/05/2019) and time(9:15:00).
Source by www.educative.io #
 
PREVIOUS NEXT
Tagged: #datetime
ADD COMMENT
Topic
Name
3+1 =