For me to get the date and time from the SQL Server server just do the query "select getdate()".
Is there any way I can get the date and time from the RavenDB Server?
RavenDB Get DateTime From Server
226 Views Asked by Hudson Cavazin At
1
For me to get the date and time from the SQL Server server just do the query "select getdate()".
Is there any way I can get the date and time from the RavenDB Server?
Currently, there is no direct way. But, upon saving a document, you get the
@last-modified
param in the document metadata, which is the current server date & time (UTC) at which the document was saved on the server.