❔ Using C# and SQLite, I'm inputting a formatted date, and it's writing tot the database as a sum
A strange one, to be sure. I'm inputting something like '2022-01-13', and it's writing '2008'. Would anyone have any ideas?
I'm writing a string with the date. Input date is loaded into a DateOnly and I'm encapsulated the properties of that DateTime with the specific information and hyphen formatting.
10 Replies
Angius#1586
REPL Result: Success
Result: int
Compile: 279.416ms | Execution: 74.050ms | React with ❌ to remove this embed.
It seems something is doing math lol
Doesn't it just
Show code?
bare with
Place apostrophes around it
Like it was a string
Absolute diamond, thank you ❤️
Please /close
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.