Path: utzoo!attcan!uunet!mcvax!ukc!etive!hwcs!zen!vic From: vic@zen.co.uk (Victor Gavin) Newsgroups: comp.unix.wizards Subject: Re: Convert string time into seconds? Message-ID: <1641@zen.co.uk> Date: 11 Jul 89 19:50:40 GMT References: <214@melpar.UUCP> <4760015@hpirs.HP.COM> Reply-To: vic@zen.UUCP (Victor Gavin) Organization: Zengrange Limited, Leeds, England Lines: 18 In article <4760015@hpirs.HP.COM> wk@hpirs.HP.COM (Wayne Krone) writes: >If you have ANSI C libraries, convert the yymmddhhmmss into a tm struct >and then use mktime() to convert that into seconds since the epoch. > >Wayne Is there an ANSI C/Posix/WhateverStandardYouCareToNominate function that will convert from a time in a string (as produced by asctime()/ctime()) ? [[I've always wanted one for those odd occasions, but have (up to now) been able to do without]] vic -- Victor Gavin Zengrange Limited vic@zen.co.uk Greenfield Road ..!mcvax!ukc!zen.co.uk!vic Leeds England +44 532 489048 LS9 8DB