Skip to content

snooze92/alfred-epoch-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon

Alfred epoch converter

Makes it easy to work with epoch timestamps!

Convert epoch timestamp to human-readable time

You can easily type an epoch timestamp with any precision and convert it into a human readable string: convert-epoch

Select the option you want, press enter, and the value is copied into your clipboard: convert-epoch-notification

If you have an epoch timestamp in your clipboard, no need to type or paste it. The workflow will recognize it for you: convert-clipboard-epoch

Convert human-readable time to epoch timestamp

You can easily type a human-readable time and convert it into an epoch timestamp with any precision: convert-time

Select the option you want, press enter, and the value is copied into your clipboard: convert-time-notification

If you have a human-readable time in your clipboard, no need to type or paste it. The workflow will recognize it for you: convert-clipboard-time

Download & installation

You can download the workflow file from GitHub, then double-click to install. The workflow is also released on Packal.

Usage

  • ts <timestamp> will guess the precision and display as human readable, both Local and GMT
  • ts <YYYY-mm-dd> will give epoch timestamps on that date, at midnight
  • ts <YYYY-mm-dd> <HH:MM:SS> will give epoch timestamps on that date, at that time (both space and T are supported as separator, seconds are optional)
  • ts <HH:MM:SS> will give epoch timestamps for today, at that time (seconds are optional)
  • ts will display the current time as a UNIX epoch timestamp with different precisions, as well as attempt converting what is in your clipboard