Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] MongoDB -- OS DateTime Conversion

$
0
0

Barduino wrote:

Hi Tony

I'm not sure exactly what is the issue.

I've created a date time field in the structure of the example (see the try now) and it seems to be sorting correctly inside Mongo,

The way it translated to mongoDB is done at the C# driver level.

ICan you elaborate with a specific example?

I see it works in the "Try Me" but when I reloaded the MongoDB application into my eSpace and published, the "Date" fields is not used.  I need to see how the date field is represented in the MongoDB, that is where I am having the issue.  I suspect it is being inserted as the text form of the DateTime not as a Long Integer representing the number of milliseconds since the Unix Epoch.  


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>