get current time and convert it to string
smjg_1998 at yahoo.com
Thu Apr 27 06:21:54 PDT 2006
Abby (J.P.) wrote:
> Thanks, it works fine.
> By the way, is there a way to set the time shifting used for the function
> std.date.UTCtoLocalTime(long t); ?
> It does automatically put me at GMT+4, and that's not valid.
It seems that either:
- your computer is misconfigured
- there's a bug somewhere in Phobos
- there's a bug somewhere in your code
Looking at your headers of your posts, you appear to be in GMT+2 and
using Windows, but is this the same system that you're programming on?
Otherwise, which OS is it happening in?
Please post a complete code sample that demonstrates it.
More information about the Digitalmars-d-learn