[REBOL] Re: how do I get ampm format for time?
From: gjones05:mail:orion at: 19-Jan-2001 4:52
Rebol/Core User's Guide (page 63) also gives the following example: print either now/time < 12:00 ["AM"]["PM"] This approach could be easily adapted to: time-ampm: func [dt] [either dt < 12:00 [return join dt "AM"][return join dt - 12:00 "PM"]]>> time-ampm 8:00== "8:00AM">> time-ampm 18:00== "6:00PM" Hope this is helpful. Scott