Hacker News new | ask | show | jobs
by epistemenical 3598 days ago
numpy does this, with np.datetime64('2013-07') or np.datetime64('2013-07-01 12:15'). I wouldn't recommend using it if you're not otherwise using numpy, though.