NotReal wrote:
> I am in need of some assistance in configuring the time display on
> sunclock: version 3.56, J.-P. Demailly. After fiddling around with
> the .rcfile, I have managed to configure the local time (EDT) and date
> in the lower left corner of the display and the UTC date and time on
> the lower right -- well almost. The date that is supposed to be UTC
> remains as the local date. The result is that the date is wrong
> between 20:00 and 24:00 local each day. I have found the UTC
> switches for UTC hour (%G) and minutes (%N) but I cannot find what I
> should use for UTC day of the week, day, month, and year. I have a
> feeling there are no such switches, but it doesnt hurt to ask.
Not sure what language but the usual approach is: get a date/time variable
as utc time (e.g. seconds since the epoch) and convert that using the
general formatting rules. So instead of datestring("format goes here"),
pass the utc time variable as an extra parameter: datestring("format",
utcvalue).
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|