Skip to content

Content Tagged "date"

Page 1 of 1

Content Tagged "date"

Get Job Executions in Rundeck

October 2, 2018Categories: IT, Tutorial
Following the previous articles , we are now in position to query job executions. The query is done via API as well. As a job can have an arbitrary number of executions, it's advisable to use pagination. The code follows the same lines as the one in the previous entries: This function builds the…

Bulk Change the Date on Photos

March 13, 2018Categories: Random, Tutorial
I've got a new camera and I forgot to update the date. Consequently, the first photos are taken on 01/01/2017 instead of 04/03/2018. Given that more than 100 photos were taken, it would be a pain to change them one by one. So, here are the steps I did update the date: Download exiv2 . Just search…

Convert Timestamp to DateTime for Pandas DataFrame

August 8, 2017Categories: Software, Tutorial
To convert a pandas data frame value from unix timestamp to python datetime you need to use: where: timestamp is the column containing the timestamp value unit='s' defines the unit of the timestamp (seconds in this case) You can actually replace the column altogether: Unfortunately, the…

Get most recent modification date for a folder in python

May 27, 2013Category: Software
Finding out when a directory was most recently modified should be relatively easy; just perform a dir or a ls -l and you should have it. Sometimes you actually do, but not always (I remember my assembly days when I would write cool programs to manipulate the FAT information on a disk). The most…

All tags