directxBOB
asked on
Timestamp
Just trying to get a timestamp:
new DateTime().ToString()
is that correct?
new DateTime().ToString()
is that correct?
ASKER
DateTime().Now
Doesn't appear to exist, what version of ,NET would that be in? I can only use 2.0
Doesn't appear to exist, what version of ,NET would that be in? I can only use 2.0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and for both date and time as different do this
string strDate = DateTime.Now.ToShortDateSt
string strTime = DateTime.Now.ToShortTimeSt