Added functions for date/time forms