Create getDateOrTime

example subroutines to get date / time