#date-time #julian #solar #cli #timezone #gregorian #day-week

bin+lib date-cli

Fast, clear and simple CLI tool for view date from CLI for Solar, Julian, Gregorian calendar

4 stable releases

1.0.3 Mar 26, 2024
1.0.2 Mar 16, 2024
1.0.1 Mar 6, 2024
1.0.0 Mar 5, 2024

#348 in Date and time

Download history 288/week @ 2024-03-05 173/week @ 2024-03-12 22/week @ 2024-03-19 173/week @ 2024-03-26 23/week @ 2024-04-02 2/week @ 2024-04-09

226 downloads per month

Custom license

77KB
813 lines

Greenfield CI Build and test License License

Date-CLI

Calendar-CLI Logo

Command-Line Options

The program accepts the following command-line options:

-z, --zone [ZONE]: Set the time zone. The default value is local system time zone.
-m, --method [METHOD]: Set the method for determining the day of the week. There are three options available:
    1: Xavetar - High Precision - Fast
    2: Rata Die - High Precision - Fast (default)
    3: Sakamoto - High Precision - Fast
-v, --view [VIEW]: Set the calendar view. There are two options available:
    1: Julian
    2: Gregorian (default)
    3: Solar

Usage

Get current date and time with local time zone for Gregorian calendar:

date-cli

Get current date and time with local time zone for Julian calendar:

date-cli -v 1

Get current date and time with local time zone for Solar calendar:

date-cli -v 3

Get current date with your time zone for Gregorian calendar with Sakamoto method to determining the day of the week:

date-cli -z -06:00:00 -m 3 -v 2

Get current date with your time zone for Julian calendar with Xavetar method to determining the day of the week:

date-cli -z +12:00:00 -m 1 -v 1

Get current date with your time zone for Solar calendar with Rata Die method to determining the day of the week:

date-cli -z +03:00:00 -m 2 -v 3

License

Date-CLI is primarily distributed under the terms of three the Anti-Virus license and MIT license and the Apache License (Version 2.0)

See LICENSE-ANTI-VIRUS and LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~215KB