{"id":260,"date":"2005-07-03T02:44:00","date_gmt":"2005-07-03T09:44:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/how-to-set-a-time-zone-for-image-for-dos\/"},"modified":"2021-09-10T16:45:08","modified_gmt":"2021-09-10T23:45:08","slug":"how-to-set-a-time-zone-for-image-for-dos","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/how-to-set-a-time-zone-for-image-for-dos\/","title":{"rendered":"How to Set a Time Zone for Image for DOS"},"content":{"rendered":"<p>This article will explain how to specify a particular time zone for use by <a href=\"https:\/\/www.terabyteunlimited.com\/image-for-dos\/\" target=\"_blank\" rel=\"noopener\">Image for DOS<\/a>.\u00a0 Using the appropriate time zone in this manner ensures that the date\/time stamps of the files created by Image for DOS will be correct when they are viewed within Windows.<\/p>\r\n<p>Please note that establishing a time zone environment variable is only necessary and applicable when saving images to NTFS partitions or to CD\/DVD discs.<\/p>\r\n<p>The time zone can be specified by placing the <strong>TimeZone<\/strong> variable in the IFD.INI file, using the <strong>\/tz<\/strong> command line option, or using the <strong>IFD<\/strong> environment variable. Examples of all three methods are shown below.<\/p>\r\n<p><span style=\"color: #005858;\"><strong>Using IFD.INI<\/strong><\/span><\/p>\r\n<blockquote>\r\n<p>The <strong>TimeZone<\/strong> variable is placed in the <strong>[Options]<\/strong> section of the INI file. For example, to specify Pacific Time:<\/p>\r\n<p><span style=\"color: #0000ff;\">[Options]\r\nTimeZone=PST8PDT<\/span><\/p>\r\n<p>Note that you can easily add this option (as well as others) to the IFD.INI file when creating the Image for DOS boot media.<\/p>\r\n<\/blockquote>\r\n<p><span style=\"color: #005858;\"><strong>Using the \/tz command line option<\/strong><\/span><\/p>\r\n<blockquote>\r\n<p>The <strong>\/tz<\/strong> option is included on the command line when running Image for DOS. For example, to specify Pacific Time:<\/p>\r\n<span style=\"color: #0000ff;\">image \/b \/d:0@0x01 \/f:1@0x01:&#92;backups&#92;xp <strong>\/tz:PST8PDT<\/strong><\/span><\/blockquote>\r\n<p><span style=\"color: #005858;\"><strong>Using the IFD environment variable<\/strong><\/span><\/p>\r\n<blockquote>\r\n<p>The <strong>IFD<\/strong> environment variable can contain many options. In this example, it is being used solely to specify the Pacific Time time zone:<\/p>\r\n<span style=\"color: #0000ff;\">SET IFD=tz:PST8PDT<\/span><\/blockquote>\r\n<p>&nbsp;<\/p>\r\n<p><span style=\"color: #ff5500;\"><strong>Option Format<\/strong><\/span><\/p>\r\n<p>The format of the time zone option is the same regardless of the method used:<\/p>\r\n<blockquote><span style=\"color: #0000ff;\">TimeZone=AAA[+\/-]HBBB<\/span><\/blockquote>\r\n<blockquote><span style=\"color: #0000ff;\">\/tz:AAA[+\/-]HBBB<\/span><\/blockquote>\r\n<blockquote><span style=\"color: #0000ff;\">SET IFD=tz:AAA[+\/-]HBBB<\/span><\/blockquote>\r\n<p>Where:<\/p>\r\n<ul>\r\n\t<li><strong>AAA<\/strong> is required, and is a three-character placeholder string to represent your time zone identifier;<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li><strong>+H<\/strong> or <strong>-H<\/strong> is required, and represents a number <em>opposite<\/em> to your UTC offset (the <strong>+<\/strong> symbol is optional when the value is positive; the <strong>-<\/strong> symbol is required when the value is negative);<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li><strong>BBB<\/strong> is optional, and, if present, instructs Image for DOS to account for daylight savings time.<\/li>\r\n<\/ul>\r\n<p><span style=\"color: #005858;\"><strong>Examples<\/strong><\/span><\/p>\r\n<blockquote><span style=\"color: #0000ff;\"><strong>TimeZone=ABC-12<\/strong><\/span><br \/>\r\n<ul>\r\n\t<li><strong>ABC<\/strong> is a placeholder only, having no direct effect on the time zone designation.<\/li>\r\n\t<li><strong>-12<\/strong> designates the time zone as equivalent to UTC +12.<\/li>\r\n\t<li>Since no string corresponding to <strong>BBB<\/strong> is present, daylight savings time compensation will not be performed.<\/li>\r\n<\/ul>\r\n<\/blockquote>\r\n<blockquote><span style=\"color: #0000ff;\"><strong>\/tz:EST+5EDT<\/strong><\/span><br \/>\r\n<ul>\r\n\t<li><strong>EST<\/strong> is a placeholder only, having no direct effect on the time zone designation.<\/li>\r\n\t<li><strong>+5<\/strong> designates the time zone as equivalent to UTC -5.\u00a0 Using <strong>5<\/strong> (without the <strong>+<\/strong> symbol) would have been equivalent.<\/li>\r\n\t<li><strong>EDT<\/strong> specifies that daylight savings time compensation will be performed.<\/li>\r\n<\/ul>\r\n<\/blockquote>\r\n<blockquote><span style=\"color: #0000ff;\"><strong>SET IFD=tz:+04+04<\/strong><\/span><br \/>\r\n<ul>\r\n\t<li>The first <strong>+04<\/strong> is a placeholder only, having no direct effect on the time zone designation.<\/li>\r\n\t<li>The second <strong>+04<\/strong> designates the time zone as equivalent to UTC -4.\u00a0 Using <strong>+4<\/strong> (without the leading <strong>0<\/strong>) would have been equivalent.<\/li>\r\n\t<li>Since no string corresponding to <strong>BBB<\/strong> is present, daylight savings time compensation will not be performed.<\/li>\r\n<\/ul>\r\n<\/blockquote>\r\n<p>&nbsp;<\/p>\r\n<p><span style=\"color: #ff5500;\"><strong>Location and Environment Variable Command Examples<\/strong><\/span><\/p>\r\n<p>Note: In the chart below, only an example using the command line option is shown.<\/p>\r\n<blockquote>\r\n<div align=\"center\">\u00a0<\/div>\r\n<table border=\"1\" cellspacing=\"1\" cellpadding=\"2\">\r\n<tbody>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"center\"><strong>UTC\/GMT Offset<\/strong><\/td>\r\n<td align=\"center\"><strong>Location Examples<\/strong><\/td>\r\n<td align=\"center\"><strong>Variable Command<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">GMT<\/td>\r\n<td>Greenwich Mean Time; London, Edinburgh, Dublin, Casablanca, Monrovia<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:GMT000 <br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-1:00<\/td>\r\n<td>Azores, CapeVerde Islands<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+01+01<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-2:00<\/td>\r\n<td>Mid-Atlantic<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+02+02<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-3:00<\/td>\r\n<td>Buenos Aires, Rio de Janiero, E. South America<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+03+03<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-3:30<\/td>\r\n<td>Newfoundland<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:NWF+03:30<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-4:00<\/td>\r\n<td>Atlantic Time (Canada) , Caracas, La Paz<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:AST+04ADT<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-5:00<\/td>\r\n<td>Eastern Time (US &amp; Canada), Bogota, Lima, Indiana (East)<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:EST+05EDT<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-6:00<\/td>\r\n<td>Central Time (US &amp; Canada), Mexico City, Tegucigalpa, Saskatchewan<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:CST+06CDT<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-7:00<\/td>\r\n<td>Mountain Time (US &amp; Canada), Arizona<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:MST+07MDT<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-8:00<\/td>\r\n<td>Pacific Time (US &amp; Canada), San Francisco, LA, Tijuana<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:PST+08PDT<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-9:00<\/td>\r\n<td>Alaska<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+09+09<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-10:00<\/td>\r\n<td>Hawaii<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+10+10<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-11:00<\/td>\r\n<td>Midway Island, Samoa<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+11+11<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">-12:00<\/td>\r\n<td>Enewetak, Kwajalein, Dateline<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:+12+12<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+1:00<\/td>\r\n<td>Paris, Berlin, Madrid, Stockholm, Rome, W. Europe<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:MEZ-01<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+2:00<\/td>\r\n<td>Athens, Helsinki, Istanbul, E. Europe, Harare, Pretoria, South Africa, Israel<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:OEZ-02<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+3:00<\/td>\r\n<td>Baghdad, Kuwait, Nairobi, Riyadh, Saudi , Moscow, St. Petersburg<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-03-03<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+4:00<\/td>\r\n<td>Abu Dhabi, Muscat, Tbilisi, Kazan, Volgograd, Arabia<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-04-04<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+5:00<\/td>\r\n<td>Islamabad, Karachi, Sverdlovsk, Tashkent, West Asia<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-05-05<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+6:00<\/td>\r\n<td>Alma Ata, Dhaka, Central Asia<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-06-06<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+7:00<\/td>\r\n<td>Bangkok, Jakarta, Hanoi, Bangkok<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-07-07<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+8:00<\/td>\r\n<td>Beijing, Chongqing, Urumqi, Hong Kong, Perth, Singapore<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-08-08<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+9:00<\/td>\r\n<td>Tokyo, Osaka,Sapporo, Seoul, Yakutsk<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-09-09<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+9:30<\/td>\r\n<td>Adelaide, Central Australia, Darwin<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:acd-09:30<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+10:00<\/td>\r\n<td>Brisbane, Melbourne, Sydney, Guam, Port Moresby, Vladivostok, West Pacific, Hobart<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-10-10<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+11:00<\/td>\r\n<td>Magadan, SolomanIs., New Caledonia, Central Pacific<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-11-11<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<tr style=\"border: 1px solid black;\">\r\n<td align=\"left\">+12:00<\/td>\r\n<td>Fiji, Kamchatka, Marshall Is., Wellington, Auckland, New Zealand<\/td>\r\n<td align=\"left\"><span style=\"color: #0000ff;\">\/tz:-12-12<br \/>\r\n<\/span><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>This article will explain how to specify a particular time zone for use by Image for DOS.\u00a0 Using the appropriate time zone in this manner ensures that the date\/time stamps of the files created by Image for DOS will be correct when they are viewed within Windows. Please note that establishing a time zone environment [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1792],"lsvr_kba_tag":[2122],"class_list":["post-260","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-general-information-image-for-dos","lsvr_kba_tag-image-for-dos"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":4,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/260\/revisions"}],"predecessor-version":[{"id":6694,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/260\/revisions\/6694"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=260"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}