today() 函数
today()
返回截断为天的 now() 时间戳。
函数类型签名
() => time
有关更多信息,请参阅函数类型签名。
示例
返回表示今天的的时间戳
option now = () => 2022-01-01T13:45:28Z
today()// Returns 2022-01-01T00:00:00.000000000Z
查询今天的数据
from(bucket: "example-bucket")
|> range(start: today())
此页是否对您有帮助?
感谢您的反馈!