Custom date-time implementation