bug-gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61212] feature request: split out time&date to read and convert th


From: paul r
Subject: [bug #61212] feature request: split out time&date to read and convert the time
Date: Thu, 23 Sep 2021 17:13:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?61212>

                 Summary: feature request: split out time&date to read and
convert the time
                 Project: Gforth
            Submitted by: phr
            Submitted on: Thu 23 Sep 2021 09:13:15 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Currently there is a time&date word that reads the current time from the
system, and splits it out into s m h D M Y.  I request splitting out the
conversion part to convert an arbitrary timestamp as returned from utime:

: convert-to-time&date ( utime -- s m h D M Y ) ... ;
: date&time ( -- s m h D M Y ) utime convert-to-time&date ;

The existing date&time still operates the same way to preserve compatibility,
but the conversion part is made visible for users.

Thanks -- Paul




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61212>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]