This subdomain is part of the excudo website
In here you'll find Tools (soon), Scripts & some of the papers i've written (and will write in the future) about topics that form a bridge between psychologyand the internet.
The reason i created this subdomain is to have an outlet for my creative moments and to be able to share them with my fellow nerds.
Enjoy the contents, but read the disclaimer first.
Name: date add string
Stored function which can do the same as MySQL's native DATE_ADD (and DATE_SUB), but differs in the way you invoke it: it accepts the units as a string instead of a keyword (p.e. 'DAY' instead of DAY)
Name: date difference
This function will calculate the difference between two dates and can output it as either a string or an array, indicating the amount of years, months, days, hours, minutes and seconds of difference.
The returned result can be either a string or an array