Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Pulling dates straight out of a database can be a little messy - especially when the column is datetime.
Out of interest the dates appear like this due to ISO 8601 which dictates that dates should be displayed starting with the largest component and ending up with the smallest (so yyyy-MM-dd hh:mm:ss).
There are two major ways to change the appearance of dates. First try using the CONVERT function:
There are lots of date codes to choose from, which can be found here. For this example you should use 105 as a number code.
This is the faster of the two options, but it is restricted to the premade list of date codes. Instead try using FORMAT to show this:
Just watch out when entering the date parts: months are denoted by M and minutes by m.
Check out the answer here.
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.