NickName:Marcus Junius Brutus Ask DateTime:2012-04-09T05:55:10 seconds since the epoch for non-Unix platforms in OCaml Module Unix contains the time function to get the seconds since the Epoch but is there a platform-independent way to get the same value and ensure the code compiles in non-Unix deployments ? Copyright Notice:Content Author:「Marcus Junius Brutus」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.Link to original article:https://stackoverflow.com/questions/10066886/seconds-since-the-epoch-for-non-unix-platforms-in-ocaml Answers