date to display the EDT timeHow to command “Ping” display time and date of pingHow to stop the first command the failing to affect the second commandDate and time of execution of a programHow to command “hping3” display time and date of hping3Can I change the ipconfig names to the old convention? wlanX, ethX?crontab job not workingSet date and time from http header in router with curl or wgetIs the current Date/Time format retrievable?How to find a binary name with only the prefix?date -d 'previous Monday" to display the preceding Monday
No such column 'DeveloperName' on entity 'RecordType' after Summer '19 release on sandbox
How to find the tex encoding of specific fonts?
Why do unstable nuclei form?
Cropping a message using array splits
Why should password hash verification be time constant?
Is this state of Earth possible, after humans left for a million years?
We are two immediate neighbors who forged our own powers to form concatenated relationship. Who are we?
Pre-1993 comic in which Wolverine's claws were turned to rubber?
date to display the EDT time
My perfect evil overlord plan... or is it?
Was Mohammed the most popular first name for boys born in Berlin in 2018?
Why did Captain America age?
Is it bad writing or bad story telling if first person narrative contains more information than the narrator knows?
Is there any evidence to support the claim that the United States was "suckered into WW1" by Zionists, made by Benjamin Freedman in his 1961 speech
Would encrypting a database protect against a compromised admin account?
How to make a language evolve quickly?
Succinct and gender-neutral Russian word for "writer"
What is the name of meteoroids which hit Moon, Mars, or pretty much anything that isn’t the Earth?
Is every story set in the future "science fiction"?
What's the "magic similar to the Knock spell" referenced in the Dungeon of the Mad Mage adventure?
Why does it take longer to fly from London to Xi'an than to Beijing
Thesis' "Future Work" section – is it acceptable to omit personal involvement in a mentioned project?
Is there ever a rule not to place certain words on separate lines in a Sefer Torah?
Why does increasing the sampling rate make implementing an anti-aliasing filter easier?
date to display the EDT time
How to command “Ping” display time and date of pingHow to stop the first command the failing to affect the second commandDate and time of execution of a programHow to command “hping3” display time and date of hping3Can I change the ipconfig names to the old convention? wlanX, ethX?crontab job not workingSet date and time from http header in router with curl or wgetIs the current Date/Time format retrievable?How to find a binary name with only the prefix?date -d 'previous Monday" to display the preceding Monday
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to check the time
Eastern Daylight Time
Time zone in Washington, DC, USA (GMT-4)
Thursday, May 9, 2019, 8:11 PM
However,
$ TZ="EDT" date
Fri May 10 00:12:25 EDT 2019
"EST" works properly
$ TZ="EST" date
Thu May 9 19:13:11 EST 2019
What's the problem?
command-line bash
add a comment |
I want to check the time
Eastern Daylight Time
Time zone in Washington, DC, USA (GMT-4)
Thursday, May 9, 2019, 8:11 PM
However,
$ TZ="EDT" date
Fri May 10 00:12:25 EDT 2019
"EST" works properly
$ TZ="EST" date
Thu May 9 19:13:11 EST 2019
What's the problem?
command-line bash
add a comment |
I want to check the time
Eastern Daylight Time
Time zone in Washington, DC, USA (GMT-4)
Thursday, May 9, 2019, 8:11 PM
However,
$ TZ="EDT" date
Fri May 10 00:12:25 EDT 2019
"EST" works properly
$ TZ="EST" date
Thu May 9 19:13:11 EST 2019
What's the problem?
command-line bash
I want to check the time
Eastern Daylight Time
Time zone in Washington, DC, USA (GMT-4)
Thursday, May 9, 2019, 8:11 PM
However,
$ TZ="EDT" date
Fri May 10 00:12:25 EDT 2019
"EST" works properly
$ TZ="EST" date
Thu May 9 19:13:11 EST 2019
What's the problem?
command-line bash
command-line bash
edited 1 hour ago
Kulfy
5,84372248
5,84372248
asked 4 hours ago
AliceAlice
624111
624111
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
EDT
is ambiguous when considered internationally. You can get the time you are seeking by doing
$ TZ="America/New_York" date
Thu May 9 22:11:16 EDT 2019
add a comment |
date
command doesn't know "EDT" timezone. If a timezone which isn't supported is passed in TZ the output will indeed show with entered time zone but time shown will be UTC.
Supported time zones are listed in /usr/share/zoneinfo/. As of now time zones that can be used as a value for "TZ" are:
Africa Cuba GMT0 Japan Pacific Turkey
America EET GMT-0 Kwajalein Poland UCT
Antarctica Egypt GMT+0 leap-seconds.list Portugal Universal
Arctic Eire Greenwich Libya posix US
Asia EST Hongkong localtime posixrules UTC
Atlantic EST5EDT HST MET PRC WET
Australia Etc Iceland Mexico PST8PDT W-SU
Brazil Europe Indian MST right zone1970.tab
Canada Factory Iran MST7MDT ROC zone.tab
CET GB iso3166.tab Navajo ROK Zulu
Chile GB-Eire Israel NZ Singapore
CST6CDT GMT Jamaica NZ-CHAT SystemV
The time zone for EDT is "EST5EDT". The output of TZ="EST5EDT" date
as of 10 May 2019 02:11:26 UTC:
Thu May 9 22:11:26 EDT 2019
Or use city's name where EDT is used. Examples: America/Kentucky/Louisville, America/Kentucky/Monticello, America/New_York, Canada/Eastern, etc.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1141967%2fdate-to-display-the-edt-time%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
EDT
is ambiguous when considered internationally. You can get the time you are seeking by doing
$ TZ="America/New_York" date
Thu May 9 22:11:16 EDT 2019
add a comment |
EDT
is ambiguous when considered internationally. You can get the time you are seeking by doing
$ TZ="America/New_York" date
Thu May 9 22:11:16 EDT 2019
add a comment |
EDT
is ambiguous when considered internationally. You can get the time you are seeking by doing
$ TZ="America/New_York" date
Thu May 9 22:11:16 EDT 2019
EDT
is ambiguous when considered internationally. You can get the time you are seeking by doing
$ TZ="America/New_York" date
Thu May 9 22:11:16 EDT 2019
answered 2 hours ago
chickschicks
356414
356414
add a comment |
add a comment |
date
command doesn't know "EDT" timezone. If a timezone which isn't supported is passed in TZ the output will indeed show with entered time zone but time shown will be UTC.
Supported time zones are listed in /usr/share/zoneinfo/. As of now time zones that can be used as a value for "TZ" are:
Africa Cuba GMT0 Japan Pacific Turkey
America EET GMT-0 Kwajalein Poland UCT
Antarctica Egypt GMT+0 leap-seconds.list Portugal Universal
Arctic Eire Greenwich Libya posix US
Asia EST Hongkong localtime posixrules UTC
Atlantic EST5EDT HST MET PRC WET
Australia Etc Iceland Mexico PST8PDT W-SU
Brazil Europe Indian MST right zone1970.tab
Canada Factory Iran MST7MDT ROC zone.tab
CET GB iso3166.tab Navajo ROK Zulu
Chile GB-Eire Israel NZ Singapore
CST6CDT GMT Jamaica NZ-CHAT SystemV
The time zone for EDT is "EST5EDT". The output of TZ="EST5EDT" date
as of 10 May 2019 02:11:26 UTC:
Thu May 9 22:11:26 EDT 2019
Or use city's name where EDT is used. Examples: America/Kentucky/Louisville, America/Kentucky/Monticello, America/New_York, Canada/Eastern, etc.
add a comment |
date
command doesn't know "EDT" timezone. If a timezone which isn't supported is passed in TZ the output will indeed show with entered time zone but time shown will be UTC.
Supported time zones are listed in /usr/share/zoneinfo/. As of now time zones that can be used as a value for "TZ" are:
Africa Cuba GMT0 Japan Pacific Turkey
America EET GMT-0 Kwajalein Poland UCT
Antarctica Egypt GMT+0 leap-seconds.list Portugal Universal
Arctic Eire Greenwich Libya posix US
Asia EST Hongkong localtime posixrules UTC
Atlantic EST5EDT HST MET PRC WET
Australia Etc Iceland Mexico PST8PDT W-SU
Brazil Europe Indian MST right zone1970.tab
Canada Factory Iran MST7MDT ROC zone.tab
CET GB iso3166.tab Navajo ROK Zulu
Chile GB-Eire Israel NZ Singapore
CST6CDT GMT Jamaica NZ-CHAT SystemV
The time zone for EDT is "EST5EDT". The output of TZ="EST5EDT" date
as of 10 May 2019 02:11:26 UTC:
Thu May 9 22:11:26 EDT 2019
Or use city's name where EDT is used. Examples: America/Kentucky/Louisville, America/Kentucky/Monticello, America/New_York, Canada/Eastern, etc.
add a comment |
date
command doesn't know "EDT" timezone. If a timezone which isn't supported is passed in TZ the output will indeed show with entered time zone but time shown will be UTC.
Supported time zones are listed in /usr/share/zoneinfo/. As of now time zones that can be used as a value for "TZ" are:
Africa Cuba GMT0 Japan Pacific Turkey
America EET GMT-0 Kwajalein Poland UCT
Antarctica Egypt GMT+0 leap-seconds.list Portugal Universal
Arctic Eire Greenwich Libya posix US
Asia EST Hongkong localtime posixrules UTC
Atlantic EST5EDT HST MET PRC WET
Australia Etc Iceland Mexico PST8PDT W-SU
Brazil Europe Indian MST right zone1970.tab
Canada Factory Iran MST7MDT ROC zone.tab
CET GB iso3166.tab Navajo ROK Zulu
Chile GB-Eire Israel NZ Singapore
CST6CDT GMT Jamaica NZ-CHAT SystemV
The time zone for EDT is "EST5EDT". The output of TZ="EST5EDT" date
as of 10 May 2019 02:11:26 UTC:
Thu May 9 22:11:26 EDT 2019
Or use city's name where EDT is used. Examples: America/Kentucky/Louisville, America/Kentucky/Monticello, America/New_York, Canada/Eastern, etc.
date
command doesn't know "EDT" timezone. If a timezone which isn't supported is passed in TZ the output will indeed show with entered time zone but time shown will be UTC.
Supported time zones are listed in /usr/share/zoneinfo/. As of now time zones that can be used as a value for "TZ" are:
Africa Cuba GMT0 Japan Pacific Turkey
America EET GMT-0 Kwajalein Poland UCT
Antarctica Egypt GMT+0 leap-seconds.list Portugal Universal
Arctic Eire Greenwich Libya posix US
Asia EST Hongkong localtime posixrules UTC
Atlantic EST5EDT HST MET PRC WET
Australia Etc Iceland Mexico PST8PDT W-SU
Brazil Europe Indian MST right zone1970.tab
Canada Factory Iran MST7MDT ROC zone.tab
CET GB iso3166.tab Navajo ROK Zulu
Chile GB-Eire Israel NZ Singapore
CST6CDT GMT Jamaica NZ-CHAT SystemV
The time zone for EDT is "EST5EDT". The output of TZ="EST5EDT" date
as of 10 May 2019 02:11:26 UTC:
Thu May 9 22:11:26 EDT 2019
Or use city's name where EDT is used. Examples: America/Kentucky/Louisville, America/Kentucky/Monticello, America/New_York, Canada/Eastern, etc.
edited 1 hour ago
answered 2 hours ago
KulfyKulfy
5,84372248
5,84372248
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1141967%2fdate-to-display-the-edt-time%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown