Date problems in some case

Some users have reported problems with date conversion from characters
to POSIX format.