Postgres stores the data as yyyy-dd-mm 00:00:00:0
I'm using a straight ds export to a comma delimited txt file
- Code: Select all
patients.loadAllRecords();
var ds = databaseManager.convertToDataSet(patients,['patient_id','last_name','first_name','address','address2','city','state','zipcode','dob'']);
var str=ds.getAsText(',','\n',"",true);
scopes.file.writeTXTFile(patientsFromCloud,str);
Thank you,
Bob