⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/tags/datetime $

#datetime

4 posts

4 total

Bootstrap DateTimePicker - Selecting Only Month from Dropdown Menu.

In this example, we will demonstrate how to make a dropdown menu select only the month, without the day, using bootstrap-datetimepicker. To implement this, we will need the following components: bootstrap - the bootstrap library jquery - the jQuery library moment - the moment library for working with time, in this example we will use moment-with-locales bootstrap-datetimepicker - the datetimepicker library for selecting dates. In addition, we will use the respond.js and html5shiv.min.js libraries to ensure that our example works correctly in IE.

130 views 0 comments 0 likes ./Read →

Way to set date in MSSQL to be independent of server regional settings.

Here is an example of how you can make a script in MSSQL work correctly with dates regardless of regional settings and date format. I personally implemented it in the following way: In the script, write the date as follows: Where data is a string of the following type: - This is the format of the date indicated by the number 120. Therefore, the server will not confuse the month with the day, etc.

23 views 0 comments 0 likes ./Read →