date definition in sql Hotel Media