Fixed a bug that made nothing work. Using localtime now.