My application can receive datetime information in any of below formats : "yyyymmdd HH:mm:ss.miliseconds" "yyyymmdd HH:mm:ss.nanoseconds"
Length for M