PERL Time problem
Posted on 2004-10-25
I have a website where the time is displayed, and it works just fine. We have a server in our office, where we do our updates via a web interface. When we are happy with what every thing looks like, we click a button on the interface, it runs a perl script, and ftp's files over to the server at our isp/web host, to our main website. This all works fine. The server in our office is getting very old, so I moved all of the files from it to a newer server, corrected the addressing inthe perl scripts, installed everything (i Think!) that is necessary, etc. When I try to do the same process on the newer server, it ftp's all of the files it should, however that date on our website will revert back to January 1, 1970. I'm familiar with how PERL figures out date and time, counting non leap seconds from 1970 etc. My question is why is this all of the sudden changing the dates? All we are doing is ftping (using Net::ftp) text files. Has anyone ever encountered this problem?