How to save milliseconds to DB in NHibernate We need to configure Timestamp in Mapping. eg. Map(x => x.ResponseDate).CustomType("Timestamp");