strptime equivelent on windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Benny the Guard
    New Member
    • Jun 2007
    • 92

    strptime equivelent on windows

    I have code using strptime to decode an oddly formatted date. Works great on UNIX/Linux but faisl to compile on Windows .NET 2003. Anyone know of a similar function on Widnows? Seems pretty basic so I assume there is some way of easily doing it. Thanks.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    As far as I am aware Windows has no such function (it does not appear to be part of the standard library).

    It appears that it is in the GNU C library so may be you could get hold of the source and compile it, include it into your program.

    Comment

    • Benny the Guard
      New Member
      • Jun 2007
      • 92

      #3
      Not allowed to use GNU since this is a commerical product and we have had some difficulty with using it (legally). Instead I am writing my own specific version to convert all of the data into the proper format for conversion.

      Comment

      Working...