$year = (localtime())[5] + 1900; [download]
In reply to Re: localtime by ikegami in thread Fetching Only Month and Year From localtime() by amt