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

[REBOL] Re: 12-hour format

From: joel:neely:fedex at: 5-Oct-2001 2:04

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] t ]
>> when2: to-12-hr
13:10 == 1:10 -- Sea lions can open and close their nostrils at will. This would come in handy on usenet. -- Aaron Watters joel#dot#neely#at#fedex#FIX#PUNCTUATION#dot#com