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

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -