From: "Ming-Ching Tiew" <mingching.tiew at redtone.com> > > My further investigation revealed that the problem is with strptime() > and not mktime(). Maybe certain flags not implemented. > Sorry to post so frequent. It seems the %I is not supported. I changed it to %H, the problem is fixed. Thank you for your attention. Cheers.