Module Exif.DateTime

module DateTime: sig .. end

type t = {
   year : int;
   month : int;
   day : int;
   hour : int;
   min : int;
   sec : int;
}
val to_string : t -> string
val of_string : string -> [> `Error of string | `Ok of t ]
To convert DateTime string to DateTime.t.
val of_string_packed_unix_time : string -> [> `Error of string | `Ok of t ]
I had an Android phone which created DateTime tag with a little endian encoded unsigned int32 of unix time! This function tries to fix the issue.