wiki:pfms-reporting-custom_sql-example_for_macro_date_time.png