If you use sqlite, you can use the sqlite3 utility program to convert the datetimes while exporting. Start sqlite3 and enter these commands
.open /var/lib/weewx/weewx.sdb
.output export1.csv
.mode csv
.headers on
select datetime(datetime, 'unixepoch', 'localtime') as dt, * from archive;
.exit
The * in the select statement means "every column in the table" so each row in your export will be the converted datetime followed by all columns in the archive table. You could replace the * with individual column names if you don't need everything. Example:
select datetime(datetime, 'unixepoch', 'localtime') as dt, outtemp, outhumidity, barometer, rain from archive;
Walt