The following T-SQL statement shows how output the day from a date. For example, 16 March 2019 would output 16. SELECT DateName( day, GETDATE() ) as Day_From_Date
The following T-SQL statement shows how output the name of the month from a date. For example, 16 March 2019 would output March. SELECT DateName( month , GETDATE() ) as…
The following T-SQL statement shows how output the day from a date as an ordinal number (st, nd, rd, th). For example, 16 March 2019 would output 16th. How do…
The following formulas show how to calculate the difference between two dates. The difference can be measured by: days months years days - ignoring years days - ignoring months and…
When you need to run custom PHP code on your WordPress site often you're instructed to add it to the active theme’s functions.php file. The issue with this is that…
The following steps show up to install future release versions of WordPress. This is usually done for testing purposes and should never be done on a production WordPress site. If you…
When sending emails meta-data in the email "header" explains who sent the email. There are two similar, but quite different, details that when not set correctly can make your emails…
By default WordPress will send emails as plain text using the content type "text/plain". But some plugins, such as Gravity Forms, will send HTML emails. The issue with this is…