Code sample of schedule helper used at payments.hopesanddreams.co.uk