Re: [mono-android] Date time string

2012-06-14 Thread Jonathan Pryor
On Jun 14, 2012, at 11:04 AM, Nosh wrote: > Hi I have the following code > string time = string.Format("{0}:{1}", hour, > minute.ToString().PadLeft(2, '0')); > Job.JobEndDateTime = Now.ToString("dd-MM- ") + time + ":00"; > The Now.ToString("dd-MM- ") + time + ":00"; occasional

[mono-android] Date time string

2012-06-14 Thread Nosh
Hi I have the following code string time = string.Format("{0}:{1}", hour, minute.ToString().PadLeft(2, '0')); Job.JobEndDateTime = Now.ToString("dd-MM- ") + time + ":00"; The Now.ToString("dd-MM- ") + time + ":00"; occasionally returns *"01-01-0001 0:00:00"* Any ideas TIA -- View