# The reverse of ctime()

David Matovich (david@castle.net)
Wed, 24 Jan 1996 13:04:13 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    All of the needed verbs are in $time_utils....ummm I've done this once
    before in a daily planner I made for a someone on DONUTMOO.
    If you want me to write it up, I can.
    -David Matovich (Gandalf - Head Programmer/Designer - CastleMOO)

    On Tue, 23 Jan 1996, PILOSOF AVI wrote:

    >
    > Does a function exist (or does someone know the code for such a beast) to
    > take time in a human readable format and convert it to the internal time
    > format (ie; number of seconds since 1/1/1970) ?
    >
    > The function need not parse a command line, it would be cool if it could
    > just take a time, day, month, year.
    >
    > I need this because I need to allow for people to enter a room booking in
    > advance, and I need them to enter a time/date, which will be compared with
    > the internal one.
    >
    > Avi
    >