• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Converting ISO 8061 datetimes to epoch timestamps

    May 13th, 2011
    python, tech
    If you have something like:
    2011-04-26T00:00:00Z-06
    And you want to convert this into seconds since the epoch, apparently the incantation is:
    int(time.mktime(dateutil.parser.parse(x).timetuple()))
    This requires the dateutil module.

    Recent posts on blogs I like:

    Moral aesthetics

    “Doing good” differs by subculture The post Moral aesthetics appeared first on Otherwise.

    via Otherwise September 29, 2022

    Futurist prediction methods and accuracy

    I've been reading a lot of predictions from people who are looking to understand what problems humanity will face 10-50 years out (and sometimes longer) in order to work in areas that will be instrumental for the future and wondering how accurate thes…

    via Posts on September 12, 2022

    On the Beach

    I really like going in the water and this beach is a great place for building sand castles and boogie boarding. I also like trying to float on top of big waves. I'm not very good at it. I only float on the flat waves.

    via Anna Wise's Blog Posts July 12, 2022

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact