Added fromFormatString in date class

Signed-off-by: Tom Wright <tom@inflatablecookie.com>