added some options to datetime
added getInstance function