29-Jun-19 & <\=29-Jun-19" /tmp/employee_list.csv csv // php export_report.php -server "http://192.168.1.1/timetrex/api/json/api.php" -username myusername -password mypass -report PayrollExportReport -saved_report MySavedReport /tmp/payroll_export.csv payroll_export if ( $argc < 3 || in_array( $argv[1], [ '--help', '-help', '-h', '-?' ] ) ) { $help_output = "Usage: export_report.php [OPTIONS] [output file] [file format]\n"; $help_output .= "\n"; $help_output .= " Options:\n"; $help_output .= " -server URL to API server\n"; $help_output .= " -username API username\n"; $help_output .= " -password API password\n"; $help_output .= " -api_key API key to use instead of username/password\n"; $help_output .= " -report Report to export (ie: TimesheetDetailReport,TimesheetSummaryReport,ScheduleSummaryReport,UserSummaryReport,PayStubSummaryReport)\n"; $help_output .= " -saved_report Name of saved report\n"; $help_output .= " -template