[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Adrian Midgley wrote: > So, a bit of wget and sed produces this snatch of text ... > > "Lou's rosta: 23rd 10-8am, 24th 10-8am, 25th 10-8am, 26th 10-8am, 27th - > 31st off, 1st 1-10pm, 2nd 8-5, 3rd 8-5, 4th 1pm-10, 5th 1pm-10, 6th off, > 7th off, 8th 2pm-12, 9th 2pm-12, 10th 10pm-8, 11th 10pm-8, 12th 10pm-8, > 13th-16th off, 17th 2pm-12, 18th 2pm-12, 19th 2pm-12" > > How do I add the time difference for Australia which is currently GMT +11 ? With Perl :) I take it that 23rd 10-8am is 23rd 22:00 to 24th 08:00 and should be turned in, to 24th 09:00 19:00 and hence 24th 9-7 "6th off" or "27th - 31st off" becomes what? If you can snswer those and give me the bit before the sed, I'll do it for you. Steve -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html