Today to string
needs(code_samples);
Function Syntax
string today_to_string()
Returns the current date (based on your local computer's system settings) in an ISO basic format (YYYYMMDD).
More Information
See this wikipedia article for more information.