Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Reporting with SQL!
You have completed Reporting with SQL!
Preview
Let's practice all the date functions we've learned about.
Cheat Sheets
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You can also work with text,
numbers and now dates.
0:00
[SOUND] You've used the DATE
function to get today's date
0:02
with the time string of now.
0:06
[SOUND] The DATE function has been
used to trim off the time portion of
0:08
a time string.
0:12
The DATE function has been used with
a modifier to calculate dates too.
0:13
You can do the same with
the TIME function too.
0:17
Use the "now" string to
get the time of now.
0:21
The TIME function is used to removed
the date from the time string.
0:25
And finally, you can use modifiers
to create new date strings.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up