in reply to help in billing process

See Calender billing_prt and esp Re: Calender billing_prt (strftime) and esp Re^5: Calender billing_prt

If those don't answer your question, ask a different question without mentioning "billing..." , something to do with what the code is supposed to accomplish, and what its doing wrong ...