I have a field that contains the date and time separated by a space. I need to split them into different fields, which I have created. Would someone help me with a query that can do this.
Thanks
Is this field a Date type field? I guess it doesn't matter as long as the field can be converted to a valid date. Assuming it is a date field,:
Date only: format([your_date_field],"mm/dd/yyyy"
Time Only: format([your_date_field],"hh:nn:ss"
If it's an update query, put the Format() functions in the Update To row of the query grid for the respective fields, if append, put it in the Field row above the column to append to.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.