How to Calculate Age in MariaDB

In MariaDB, you can use the TIMESTAMPDIFF() function to calculate a person’s age (or the age of anything for that matter).

TIMESTAMPDIFF() is a built-in date and time function that returns the difference between two date or datetime expressions. Passing YEAR as the first argument, date of birth as the second argument, and the current date as the third, will return the age in years.

Read more

How to Install Windows 10 on an M1 Mac for Free

In 2020, Apple introduced Mac computers with Apple silicon, with the first chip being the Apple M1.

This was a major change, and it affected many third party applications to the point where they simply don’t run on the M1 Mac.

One application that doesn’t run on M1 Macs is VirtualBox. Prior to the M1 Mac, we could use VirtualBox to install Windows on our Mac. VirtualBox is a free virtualisation application that enables you to install virtual machines (with other operating systems) on your Mac.

Fortunately, there’s a free alternative to VirtualBox – UTM.

Read more