Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3301734
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:46:51+00:00 2026-05-17T20:46:51+00:00

how can I change timezone on MSYS+MinGW for Windows if I have only date

  • 0

how can I change timezone on MSYS+MinGW for Windows if I have only “date” command installed? There are no “tzconfig” or “tzselect” here.

When I try $date –set=”Apr 01 23:08 UTC+04:00″
I receive 19:08 GMT+0 result.

This is very important for me because “make” command always gives me errors about files modified in future.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:46:52+00:00Added an answer on May 17, 2026 at 8:46 pm

    I had the same issue. My timezone is CET (GMT+1).

    I have fixed this by setting environment variable TZ, like so:

    export TZ=CET-1CEST
    

    Before setting the variable I had:

    (dos prompt)

    c:\>time
    Huidige tijd: 17:08:32,40
    

    (msys shell)

    $ date
    Mon Oct 25 15:08:54 GMT 2010
    

    After setting TZ=CET-1CEST it becomes:

    (dos prompt)

    c:\>time
    Huidige tijd: 17:14:30,80
    

    (msys shell)

    $ export TZ=CET-1CEST
    $ date
    Mon Oct 25 17:15:05 CEST 2010
    

    The fields in this variable are

    • CET: the name of your timezone
    • +/-x: the offset in hours to go from your timezone to GMT (in my example GMT lags one hour on CET)
    • CEST: the name of your timezone with daylight saving time enabled
    • (optionally) +/-y: the offset in hours from your timezone in daylight saving time (DST) to GMT. The default is on hour, so you can skip it.

    Note that the first and third field are just used to display in the date string. You can just as well set it to FOO and BAR if you like, it’s the second (and optionally fourth) field that do the actual time modification.

    The parameter can take even more fields to define when DST starts and ends. If you like to read more about it, see this page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an app that can change the order of images inside an icon?
Is there any way that I can change how a Literal of a code
According to this website , you can change to command key sequence used by
How can I change the title of the command prompt window every time I
From what I have researched it is not possible to change the Timezone of
I have a table that is structured the following way (that i can't change):
If your text can change and will only be accessed from a single thread,
Can anyone advise how I change the timezone for my google app engine application?
How I can change 2 texts with fadeIn() and fadeOut() jQuery effects? Here is
Is there anyway I can change the black background color from the Spark VideoDisplay

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.