fmthours i.24
┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┬────┬────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────┬────┐
│12am│1am│2am│3am│4am│5am│6am│7am│8am│9am│10am│11am│12pm│1pm│2pm│3pm│4pm│5pm│6pm│7pm│8pm│9pm│10pm│11pm│
└────┴───┴───┴───┴───┴───┴───┴───┴───┴───┴────┴────┴────┴───┴───┴───┴───┴───┴───┴───┴───┴───┴────┴────┘

Newbie here. With some effort I managed to squeeze the verb 'fmthours'
into a single line, but the result wasn't too pretty. The edge cases
(12am/pm) caused me the most trouble. How would a virtuos@ do it?


-- 
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to