create & use FormatContext
testing using simple dateformatter