Menu

#266 TIME Function Example Incorrect

None
closed
nobody
None
1
2019-06-17
2019-06-16
RockFox
No

There are two errors in the last example in the documentation of the TIME() Built-in Function.

timestamp = date('f, '20072301', 'S') + time('f', '08:14:22', 'N')
DATE argument 1 is missing trailing single quote.
DATE argument 2, "20072301", is not in the format described by argument 3, "S".

Suggested correction:
timestamp = date('f,' '20070123', 'S') + time('f', '08:14:22', 'N')

rextry output attached

Discussion

  • Erich

    Erich - 2019-06-17
    • status: open --> closed
     
  • Erich

    Erich - 2019-06-17

    Hi RockFox,
    thanks for reporting ... this has already been fixed in the latest 5.0 rexxref

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.