[issue/51] Use new get_timestamp_from_format method to get the timestamps

Fix #51