How do I write a script to convert a timestamp into minutes? What is the proper scripting format? example: "2009-09-08 00:06:14" converted to "374" minutes