Unable to get system time
Posted: Tue Nov 27, 2018 1:34 pm
Hi team,
I am trying to get system date and time, by using below code, but I am getting the only date not time. Can you please help me to get both date and time with seconds
timestamp = System.DateTime.Today.ToString("yy.MMM.dd_HHmmss");
Output :
18.Nov.27_000000
I am trying to get system date and time, by using below code, but I am getting the only date not time. Can you please help me to get both date and time with seconds
timestamp = System.DateTime.Today.ToString("yy.MMM.dd_HHmmss");
Output :
18.Nov.27_000000