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

[REBOL] Re: 12-hour format

From: mgkiourt:otenet:gr at: 5-Oct-2001 16:22

----- Original Message ----- From: Joel Neely <[joel--neely--fedex--com]> To: <[rebol-list--rebol--com]> Sent: Friday, October 05, 2001 10:04 AM Subject: [REBOL] Re: 12-hour format
> mgkiourt wrote: > > > > How can I transform a 24-hour to 12-hour form e.g.,13:10 to 1:10? > > Thanks.Mike > > > > to-12-hr: func [t [time!]] [ > if t/hour > 12 [t/hour: t/hour - 12] Compiling your code I
receive: Invalid word --hour>12 Any corrections?