You probably use shapefile format. Otherwise it should have worked. According to the documentation shapefile format doesn't store date and time in the same field. You need to add date and time to seperate columns or use other format like GeoPackage.

Only top voted, non community-wiki answers of a minimum length are eligible