Add function to set the actual time as default value