Add a method to get the current time

This allows all dates, such as modified_date and createdate to use the exact same time, without initing the current time needlessly.