Jump to content
Sign in to follow this  
Евгений Шевцов

timereceived и time

Recommended Posts

Как это все дело

        "time" : 1400789570,
        "timereceived" : 1400789570



 расшифровать в нормальный вид?


Если кодом, то на питон это выглядит так:

bash-4.3# pythonPython 2.7.5 (default, May 29 2013, 02:28:51) [GCC 4.8.0] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> from datetime import datetime>>> txdate = datetime.fromtimestamp(int(1400789570))>>> txdatedatetime.datetime(2014, 5, 23, 7, 12, 50)>>> 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...