Nipper, thanks for your help. I ended up modifying your code slightly to get the date to output in YYYY-MM-DD format. The code below is working like a charm!my ($day, $month, $year) = (localtime())[3..5];$this->emit_text(sprintf("%04d-%02d-%02d", $year+1900, $month+1, $day));
use Date::Format;...$this->emit_text(time2str("%Y-%m-%d", time));