C
C#2y ago
shadi

DateTime format into DateOnly

I want my database to only take the day, month & year. I tried [DataType(DataType.Date)] but it doesn't work. Using DateOnly won't work either, sqlserver won't take it, I need help please
6 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
shadi
shadi2y ago
I did: using System.Assembly; but it won't work
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
shadi
shadi2y ago
I can't find any statement like this online. all my other annotations are working fine
Groophy
Groophy2y ago
Install-Package System.Runtime -Version 4.3.1
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts