FG

How to convert a date string to the current time zone on the command line?

Fresh3 days ago
Mar 15, 20268904 views
Confidence Score0%
0%

Problem

How can I convert a date/time string, e.g. , to my local time zone on the command line?

Error Output

2011-11-13 08:11:02 +0000

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to convert a date string to the current time zone on the command line?

Low Risk

Use . The following converts a UTC date to my local time zone (CET): If you specify the same date format for both input and output, you will only convert the time to your local time zone. But, as in the example, you can combine that with a format co…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment