Return to BSD News archive
#! rnews 890 bsd Newsgroups: comp.unix.programmer,comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!pravda.aa.msen.com!nntp.coast.net!fu-berlin.de!zrz.TU-Berlin.DE!news.dfn.de!news.dkrz.de!news.rrz.uni-hamburg.de!news.Hanse.DE!wavehh.hanse.de!cracauer From: cracauer@wavehh.hanse.de (Martin Cracauer) Subject: string -> time_t routine, anyone? Message-ID: <1996Mar21.083253.22259@wavehh.hanse.de> Organization: BSD User Group Hamburg Date: Thu, 21 Mar 96 08:32:53 GMT Lines: 6 Xref: euryale.cc.adfa.oz.au comp.unix.programmer:35810 comp.unix.bsd.freebsd.misc:16411 I need a routine to convert a string like "19960302" (or other syntax) to a time_t. I thought about using the source of date(1), but maybe someone has done this before? Thanks Martin