Add a function 'GetDateTimeFromString'

'GetDateTimeFromString' function is used to parse a date string with a given format. eg. I have a date string date='2013年12月03月', so I call the method by GetDateTimeFromString(date, new []{"yyyy年MM月dd日"})