bkleinen / atom-date

Atom package to insert the current date & time.

Home Page:https://atom.io/packages/date

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atom Date Package

Insert the current date & time.

Installation

apm install date

or find it in the Packages tab under settings.

Usage

Select a command from Date & Time in the Command Palette.

You can also bind your keys to date:date, date:time, and date:datetime.

Options

Formatting is done using moment, see the moment format doc for all options.

To make use of the I18n support available in moment, set the "locale" setting.

Examples

All outputs are for 11:39:23.584 AM MDT August 21, 2017

Format Output
D/M/YYYY 21/8/2017
dddd MMMM D, YYYY Monday August 21, 2017
H:mm A 11:39 AM
X 1503337163
YYYY-MM-DD 2017-08-21
THH:mm:ssZ T11:39:23-06:00

About

Atom package to insert the current date & time.

https://atom.io/packages/date

License:MIT License


Languages

Language:JavaScript 100.0%