• Stars
    star
    155
  • Rank 240,864 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Makes it easy to work with epoch timestamps!

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