Join Bill Weinman for an in-depth discussion in this video Date and time types, part of MySQL Essential Training.
- View Offline
- Exercise Files
…MySQL supports a complete set of date and time types.…These include date, time, a standalone year type, a combined datetime type,…and a timestamp type that's automatically updated when a row is created or updated.…It's worth noting that two digit year support is deprecated as of MySQL 5.6.6.…It still works according to these rules.…But the documentation warns that this functionality…will be removed in a future release.…
Keep in mind that two digit years are never a good idea, and if you're…using them today, you'll be well served by…updating your systems to use four digit years.…My sql stores dates and times in standard sql format.…Standard sql format for dates and times…is designed for convenient sorting and searching.…Different countries and locals have different…localized formats for dates and times.…Some with the year to the left some with the year to the right.…Some in odd mixed up orders like the month day year format common in the US.…
Standard SQL format has the most significant parts to…the left and the least significant parts to the right.…
- Writing queries
- Creating and updating databases and tables
- Using MySQL built-in functions
- Sorting and filtering data
- Updating tables with triggers
- Working with subselects and views
- Creating and using a stored function
Skill Level Beginner
PHP with MySQL Essential Trainingwith Kevin Skoglund14h 32m Beginner
1. Installing and Configuring the Test Environment
2. Basic Syntax
3. Creating a Database
4. MySQL Data Types
5. MySQL Functions
8. Subselects and Views
9. Stored Routines
10. PHP's PDO Interface with MySQL
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.