User Tools

Site Tools


balug:covid-19

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
balug:covid-19 [2021-11-15T06:15:21+0000]
rick_moen [Timezone Conversion]
balug:covid-19 [2021-11-15T06:26:55+0000]
rick_moen [Timezone Conversion]
Line 97: Line 97:
  
  
-GNU date(1) will use your system'​s TZ database to convert time/date correctly, including compensating for DST / standard-time ​issues at either your and/or the remote location.+GNU date(1) will use your system'​s TZ database to convert time/date correctly, including compensating for DST / Standard Time issues at either your and/or the remote location.
  
 It is also possible to generalize that syntax, to convert to a timezone //​differing//​ from your local timezone, by prefacing the foregoing command with an output-timezone qualifier, e.g., as follows requesting conversion to Arizona time/date: It is also possible to generalize that syntax, to convert to a timezone //​differing//​ from your local timezone, by prefacing the foregoing command with an output-timezone qualifier, e.g., as follows requesting conversion to Arizona time/date:
Line 105: Line 105:
 $ $
  
-Quoting //must be as shown//, and timezone //names// must be correct, or you will get errors or (worse) silent ignoring of the provided timezone qualifier. ​ Use [[https://​en.wikipedia.org/​wiki/​List_of_tz_database_time_zones#​List]|[canonical TZ database names]]. Do //not// use familiar 3- or 4-letter shortcut names like PST and PDT, which are neither unique nor standardised -- nor UTC offsets like UTC-8, which have Daylight Saving Time vs. Standard Time problems.+Quoting //must be as shown//, and timezone //names// must be correct, or you will get errors or (worse) silent ignoring of the provided timezone qualifier. ​ Use [[https://​en.wikipedia.org/​wiki/​List_of_tz_database_time_zones#​List|canonical TZ database names]]. Do //not// use familiar 3- or 4-letter shortcut names like PST and PDT, which are neither unique nor standardised -- nor UTC offsets like UTC-8, which have DST vs. Standard Time problems.
  
 (As people have asked: ​ No, BSD date(1), as available on MacOS X, cannot do this work, for lack of the -d option.) (As people have asked: ​ No, BSD date(1), as available on MacOS X, cannot do this work, for lack of the -d option.)
balug/covid-19.txt ยท Last modified: 2024-02-28T17:27:11+0000 by rick_moen