返回

java-如何将日期格式dd/mm/yyyy转换为firestore时间戳格式,以便根据给定的日期发送查询?

发布时间:2022-05-27 07:36:28 248
# php

我需要帮助将我给定的日期dd/MM/yyyy转换为firestore时间戳格式,以便能够发送firestore查询以从集合中提取所有行

发送日期为年月日;2022年5月24日“;

Firestore查询:

  fStore.collection("data").whereEqualTo("ID", userId).whereGreaterThanOrEqualTo("date", "24/05/2022").get().addOnCompleteListener(new OnCompleteListener() {}

I am expected to get one row only as i have only one row of data which date is May 25,2022

特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报
评论区(0)
按点赞数排序
用户头像