R
Ray
Dear all,
I have some problems about getting the time. For example, it is 18:30
now. How can I get the string "1830"?
I have tried as follow:
String.Concat((Date.Now.ToString("t")).Substring(0, 2),
(Date.Now.ToString("t")).Substring(2, 2))
However, the result is "6:30"
Please help.
Thanks a lot,
Ray
I have some problems about getting the time. For example, it is 18:30
now. How can I get the string "1830"?
I have tried as follow:
String.Concat((Date.Now.ToString("t")).Substring(0, 2),
(Date.Now.ToString("t")).Substring(2, 2))
However, the result is "6:30"
Please help.
Thanks a lot,
Ray
