View Full Version : Combine seperate date & time fields


Accessor
09-15-2009, 06:40 AM
I am trying to combine two seperate fields (time and date). I can do this by just using and "&" in between the fields in a new field but lose the ability to format as a general date/time record. Any ideas?:mad:

boblarson
09-15-2009, 06:48 AM
Don't use the & but instead use + (for date/time concatenation because technically they are numbers behind the scenes).

Accessor
09-15-2009, 06:58 AM
Can I change the format to something like this 01/01/09 14:15?

voslica
09-16-2009, 09:39 AM
try using Format([new date],"mm/dd/yy h:m") where [new date] is your combined date and time fields

boblarson
09-16-2009, 09:45 AM
try using Format([new date],"mm/dd/yy h:m") where [new date] is your combined date and time fields

You should use n for minutes - h:n

http://downloads.btabdevelopment.com/screenshots/timeformat.png