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
Why do Thanos' punches not kill Captain America or at least cause some mortal injuries?
Why use steam instead of just hot air?
Why does increasing the sampling rate make implementing an anti-aliasing filter easier?
Succinct and gender-neutral Russian word for "writer"
Improving Sati-Sampajañña (situative wisdom)
How to get my matrix to fit on the page
Is it a Munchausen Number?
Was the Highlands Ranch shooting the 115th mass shooting in the US in 2019
What does this quote in Small Gods refer to?
What food production methods would allow a metropolis like New York to become self sufficient
Cryptography and elliptic curves
Is it nonsense to say B -> [A -> B]?
Why do unstable nuclei form?
How to make a language evolve quickly?
Renting a house to a graduate student in my department
Does the 500 feet falling cap apply per fall, or per turn?
Can the president of the United States be guilty of insider trading?
How are one-time password generators like Google Authenticator different from having two passwords?
Series that evaluates to different values upon changing order of summation
How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?
Intersecting with the x-axis / intersecting the x-axis
Best species to breed to intelligence
How to evaluate sum with one million summands?
How to slow yourself down (for playing nice with others)
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 3 hours ago
Kulfy
5,85372248
5,85372248
asked 5 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 3 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 3 hours ago
answered 3 hours ago
KulfyKulfy
5,85372248
5,85372248
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