How is a day detemined for the purposes of invoicing?

/How is a day detemined for the purposes of invoicing?