ISSUE-58 Date to seconds converter