seconds since epoch to ISO timestamp

printf '%(%FT%T)T\n' 1606752450
No need to use perl, awk, nor /usr/bin/date -- bash's "printf" builtin will do it.
Sample Output
2020-11-30T11:07:30

2
By: Mozai
2021-06-20 05:11:20

What Others Think

There are many commands that I have seen from here. the page here It was very helpful for me to know about these commands and try these codes when i like. I was able to know about many things from here.
zaiyamariya · 5 weeks and 2 days ago
Python code to convert seconds since epoch to ISO format (for kml, xml datetime etc). Cobra Kai Halloween Costume Jacket | Halloween Costume Ideas for Women
sarahjames · 5 weeks and 1 day ago
Great information, thanks for sharing! bubble shooter
Miller01 · 5 weeks and 1 day ago
Such destinations are significant in light of the fact that they give an enormous portion of valuable data... John Dutton Shearling Jacket
jesicajoyce · 5 weeks ago
Finally we can use the ISO timestamp command! sheet metal fabrication fort worth
ogilview82 · 5 weeks ago
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. moka pot
seooo · 4 weeks and 6 days ago
The graphics in the game are still good today, owing to their simplicity. Geometry dash's name comes from the fact that they're just a bunch of shapes. The music is where the game really shines. Every level has a unique song that makes you want to keep playing just to hear it again and again.
Ceridwen · 4 weeks and 5 days ago
US students have a very busy schedule. On one hand, they have their professional tasks and academic tasks on the other hand. Also, there are several students who also oversee their household chores. It is actually very tough for such understudies to form academic papers for such tasks. For these reasons, it is highly recommended to students to consider looking for affordable research paper writing service providers. These experts have years of experience in forming assignments of various industries and fields. And they can provide you exceptional assistance in no time. So, contact them today!
kaitlyncooke · 4 weeks and 2 days ago
We can see a single line of code over here and the output associated with it is specified romania openvz here. This particular command specifies the seconds since epoch to ISO timestamp. I am looking here for more such commands over here and keep sharing more updates on that.
Alyssalauren · 4 weeks and 1 day ago
Fortunately, learning how to play world of solitaire is simple. When you initially start a game, you'll have numerous cards facing up that you'll need to alter in order to shift all of the cards to the foundation's area.
adeline0105 · 4 weeks and 1 day ago
This is really wonderful command! I like it a lot! Thank you for the information! Mike
johnrico022117 · 3 weeks and 4 days ago
It is really useful and I am very grateful for giving us this command! Thank you! stamped concrete rochester mn
alfredlan217 · 3 weeks and 3 days ago
Pedestrian Crowd Control
Connorrr · 3 weeks and 3 days ago
Nice thing. https://www.charlottefenceinstallation.com
Connorrr · 3 weeks and 3 days ago
Thanks for this great blog of yours. I am amazed of what you've share. This is so informative. Keep sharing with us. Click here
johnlead · 3 weeks and 2 days ago
Thanks for this great blog of yours. I am amazed of what you've share. This is so informative. Keep sharing with us. One Off Cleaning
johnlead · 3 weeks and 2 days ago
The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). Literally speaking the epoch is Unix time 0 (midnight 1/1/1970), but 'epoch' is often used as a synonym for Unix time. http://aurand.net/">handheld scarifier
noahwatson1988 · 2 weeks and 4 days ago
<a href="http://aurand.net/">handheld scarifier</a>
noahwatson1988 · 2 weeks and 4 days ago
[handheld scarifier(http://aurand.net/)
noahwatson1988 · 2 weeks and 4 days ago
I am awed by the data that you have on this command. It demonstrates how well you comprehend this command.. https://www.dpublished.com
muneerahmed · 2 weeks ago
This is a helpful command. Thank you for sharing. [URL=https://www.sacramentomoldremovalservices.com//]Sacramento Mold Removal Services[/URL]
Kent35 · 1 week and 4 days ago
Sacramento Mold Removal Services
Kent35 · 1 week and 4 days ago
When students are having trouble concentrating on their studies, we provide assignment help. Whenever you need assistance or have questions, please don't hesitate to contact me. If you need exam help, I'm here to Best Exam Help. https://bestexamshelp.com/
bestexamshelp · 4 days ago
I am no longer certain the place you are getting your information, but good topic. I needs to spend some time finding out more or figuring out more. .. g1 test
muneerahmed · 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: