Populating Date struct from d_time value

2009-03-15 Thread Steve Teale
What is the recommended way of populating a std.date Date struct from a d_time value returned by getUTCtime()? I'm probably being very dense, but it seems to me that at present I have to convert the d_time value to a formatted date string, and then parse that. This seems very inefficient. Also

Re: Populating Date struct from d_time value

2009-03-15 Thread Walter Bright
Steve Teale wrote: What is the recommended way of populating a std.date Date struct from a d_time value returned by getUTCtime()? I'm probably being very dense, but it seems to me that at present I have to convert the d_time value to a formatted date string, and then parse that. This seems very