Added current_time_offset() function.
POD edit.
Add trunc utility function