modified example code with hardcoded 'current' date