python - Inferring whether an integer/string is a unix timestamp -
let's have list of different integers (either integers, or strings), such as:
1,2,100,84,12,109
i know fair degree of accuracy probably not unix timestamp series. however, following series of numbers, estimate be:
1446250200, 1446250220, 1446240220
is there way estimate whether list of integers unix timestamp series? need have function date parsing -- 1 guesses whether field integer or timstamp (and if guesses incorrectly user can override that). function like?
Comments
Post a Comment