470,836 Members | 1,846 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,836 developers. It's quick & easy.

RogueWave constructor failing

Hi All,

I am using RogueWave libraries for an application. However, the
following snippet of code fails during DST.

struct tm* osTime;

time(&temp);
osTime = localtime(&temp);

RWTime CurrentTime(osTime);

The constructor RWTime CurrentTime(osTime) build an object CurrentTime
using struct osTime. However, during the DST hour, the object
CurrentTime gets an invalid value. Its a huge junk value.

Has any one of you come across the same problem anf found a solution
for the same?
Jun 27 '08 #1
0 1309

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by David Veeneman | last post: by
reply views Thread by Naresh | last post: by
34 posts views Thread by Smithers | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.