Oui, théoriquement 21600 secondes

https://weewx.com/docs/customizing.htm#Time_periods

« delta_t is the largest time difference (in seconds) between the time specified and a timestamp of a record in the database that will be returned. By default, it is zero, which means there must be an exact match with a specified time for a record to be retrieved.»

Le 05-05-21 à 21:53, gjr80 a écrit :
- 1800 or - 21600 ? :)

Gary

On Wednesday, 5 May 2021 at 23:59:22 UTC+10 [email protected] wrote:

    <p>The temperature 6 hours ago was:
    $current(timestamp=$current.dateTime.raw - 1800).outTemp</p>

    On Wed, May 5, 2021 at 6:14 AM P C <[email protected]> wrote:

        Hello,
        I would like to seek in the database a value of 6 hours ago.
        I guess it's the next tag that he will use,

        /$current($timestamp=/some_time/,
        
$max_delta=/delta_t/,$data_binding=/binding_name/)./obstype/[./optional_unit_conversion/][./optional_rounding/][./optional_formatting/]/


        But it lacks examples so that I can understand it. (I'm not
        bilingual and sometimes I have difficulty for some things)

Thank you in advance ! -- You received this message because you are subscribed to the
        Google Groups "weewx-user" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to [email protected].
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/weewx-user/ebe8ad0d-cc50-4f34-8d35-81188d6ff765n%40googlegroups.com
        
<https://groups.google.com/d/msgid/weewx-user/ebe8ad0d-cc50-4f34-8d35-81188d6ff765n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/l83dMbJyOaQ/unsubscribe <https://groups.google.com/d/topic/weewx-user/l83dMbJyOaQ/unsubscribe>. To unsubscribe from this group and all its topics, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/22280e7c-c707-49ab-b760-5391222f3300n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/22280e7c-c707-49ab-b760-5391222f3300n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c10a9306-f6ac-6509-6303-4f6576d6928d%40gmail.com.

Reply via email to