fluree / ledger

Fluree ledger server source
GNU Affero General Public License v3.0
77 stars 8 forks source link

Support for Predicate with Date Datatype #184

Closed luisenriqueramos1977 closed 2 years ago

luisenriqueramos1977 commented 2 years ago

In the list of types supported by fluree predicates:

https://developers.flur.ee/docs/concepts/infrastructure/system_collections/#_predicate-types

I do not find the date datatype, how should I do to represent dates?

Luis Ramos

fdmmarshall commented 2 years ago

Hi @luisenriqueramos1977 thanks for you inquiry. You could use the instant datatype in fluree, it saves the date as a unix epoch timestamp that can be converted to a readable date.