extension of the create method for createDateTime
optional argument