• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

calcvar?

Started by TransFXB, November 17, 2003, 04:07:09 PM

Previous topic - Next topic

TransFXB

Hello,

Anybody knows what can be done with these calcvar we got from version 0.10.0?
I am trying to display the date/time of the last weather update I did but not ET time, preferably my local time.

Is one of those the solution?

- calcvar,var<x>,weatherupdatetimediff


TransFXB

Itanium

You dont need that, find the area where you have today's temperature listed like:

      today,temp,51,16,,,r
      today,realtemp,51,28,,,r

Along with that you need to put something like this to display the updatetime.

      text,23,40,[updatetime],c,l
[size=9]<<Beta Testers Team>>
iPAQ H2215, WM2003; Panasonic 512MB SD, Viking 1GB CF[/size]

TransFXB

Thanks Itanium,
but this displays local time of update in the US (ET) but not my local time update (France), ie there is at least 8 hours difference.

TransFXB

arbitrajeu

Quote from: TransFXBthis displays local time of update in the US (ET) but not my local time update (France), ie there is at least 8 hours difference.
Actually, the [updatetime] is the local time that you last synchronised the weather information.

I believe the time you are referring to is obtained through the command:

today,date,235,36,,,r
But that date/time is taken from the MSNBC feed, is un-parsed, and will be in ET or whatever MSNBC.com use.  There is currently no facility for converting it.

The calcvar for weatherupdatetimediff compares the time in the feed (which I guess must be parsed to do this) with the current system time.  Due to the time zone problems this poses, I believe srs is planning to change the behaviour of weatherupdatetimediff to use the update time, instead.[/code]
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

Itanium

As arbitrajeu said, you are probably confusing it with the

today,date,235,36,,,r

I myself am in Paris/Madrid time zones and those lines I posted above are from the skin I am using and time displays just right and in local zone for me.
[size=9]<<Beta Testers Team>>
iPAQ H2215, WM2003; Panasonic 512MB SD, Viking 1GB CF[/size]

joelw135

I added the line for the time as stated above, but it located it ontop of the temp, blocking the readout.  Any way  to move it? I am using the slider skin 10
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

Blazingwolf

Quote from: joelw135I added the line for the time as stated above, but it located it ontop of the temp, blocking the readout.  Any way  to move it? I am using the slider skin 10

You need to change the x and y positions. In this line the bolded area is the x and y locations:
today,date,235,36,,,r

Change those so that it lines up where you want.
Toshiba E800 WM2003 SE
Ipaq 3955 WM2003, SD and CF,Pocket Informant
Dell Axim X5 PPC2002 SD and CF (Wife's)

TransFXB

Thanks for your answers,

But again, what I am looking for is a way to get both the local DATE and TIME of the last weather update I did.

today, date,.... returns DATE and TIME, but time is MSNBC (ET) time.

updatetime returns only the TIME and it's local.

Problem with the last one is that if you have not updated for a couple of days you don't know/remember on what day you did the last update.
You have then no indication on the 'freshness' of your last update.

To summarize, what I am looking for is a function that returns :
DATE and TIME (local, not MSNBC's) of the last weather update.

TransFXB

arbitrajeu

Quote from: TransFXBTo summarize, what I am looking for is a function that returns :
DATE and TIME (local, not MSNBC's) of the last weather update.
Indeed.  I was trying to say that I don't think this is currently possible.

I think we have discussed this elsewhere, but I don't think it's right for the date/time provided by the feed being parsed and converted.

However, it might be worthwhile posting a Feature Request for a command like:

text,23,40,[updatedate],c,l
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]