[mono-android] Date time string
Nosh
portech at hotmail.co.uk
Thu Jun 14 15:04:12 UTC 2012
Hi
I have the following code
string time = string.Format("{0}:{1}", hour, minute.ToString().PadLeft(2,
'0'));
Job.JobEndDateTime = Now.ToString("dd-MM-yyyy ") + time + ":00";
The Now.ToString("dd-MM-yyyy ") + time + ":00"; occasionally returns
*"01-01-0001 0:00:00"*
Any ideas
TIA
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Date-time-string-tp5710342.html
Sent from the Mono for Android mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120614/e4e2fb8d/attachment-0001.html>
More information about the Monodroid
mailing list