Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: how do I get ampm format for time?

From: rphilipp:suffolk:lib:ny:us at: 19-Jan-2001 17:50

Hi Group, This may not be as concise but how about this script: REBOL [ ] what-time?: does [ either now/time < 12:00:00 [join now/time " AM"] [ join (now/time - 12:00:00) " PM"] ] usage:
>> what-time?
== "5:47:10 PM"