Showing "Invalid Time" error for a particular time in SuSE Linux
Hi all,
I was working with timezones when I came across a very strange error. Date command showed Invalid date/time when I set the date/time to 27 Mar 2011, 02:00:00. On further analysis, I observed that the time was jumping to 03:00:00 after 01:59:59 when the date is 27th Mar, 2011. Could anyone tell me what might have been the reason for this? Thanks in advance |
what is the command you used to set the time.
do you have any screenshot of the error message you got. Is the server configured to sync with any network time server. |
I used the command date -s "03/27/2011 02:01:01".
The error message displayed: /bin/date: invalid date `Mar 27 02:01:01' I am not getting a problem like this with any other date |
I found out the problem.
The system in which I was trying was set according to Europe Time Zone. Since March 27th, 2011 02:00:00 is the start of Daylight Saving for them, I was not able to set the time. Thanks for all those who tried to solve this :) |
All times are GMT -5. The time now is 02:46 PM. |