By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,024 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Asp.net problem with dates and database update

P: 1
Good afternoon, I've picked up a site on my pc (windows 10) which I post in a calendar diary (javascript calendar). In the debug with Vs2017 it works fine. It is published in another pc server (windows server 2019) and in storage it does not seem that this day is a Public holiday when the day falls 1-9 of the month (eg first day of May) . Are regional server settings? I changed everything with my pc, but the same ones.

At MySql Workbench, the date is in the '2019-05-01' format, and in the code when I create the date to compare it to the base if it is a day, I get a string by checking if the day is 1-9 and I get '0' in the first place to make it 'yyyy-mm-dd' so I can compare it to the base. Do you have any idea?
4 Weeks Ago #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.