• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Date Dependencies

Hi,
 I have a Y2k non-compliant system in the office. They have asked me to find the date dependancies and change the code in perl.
How do i determine date dependancy?

Thanks
0
akinepally
Asked:
akinepally
  • 2
1 Solution
 
akinepallyAuthor Commented:
I would be thankful if someone came up with an answer.
0
 
Kim RyanIT ConsultantCommented:
Take a look at http://www.perl.com/pub/1999/01/y2k.html 
Functions like localtime will return the year value with 1900 subtracted from it, so 99 is 1999 and 101 is 2001. If you always add 1900 to the year value there should be no problem.
0
 
Kim RyanIT ConsultantCommented:
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now