====== SetWriteTimeFormat ====== Define the way that the WRITETIME field should be converted into a time value. ===== Phase ===== This instruction is used by the TapeTrack Synchronization Engine. ===== Syntax ===== ''SetWriteTimeFormat(format);'' ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |format| String | The Write Time format in strptime(3) format.| 1 | 32 | It should be noted that by the time this function is run the INI engine has already tried to resolve environmental variables so it is necessary to include two percentage symbols for each symbol that would usually be required by strptime(3). ===== Example ===== Extract the Write Time in format HH:MM:SS YYYY-MM-DD. Extract(WRITETIME, 10, 20, 0); SetWriteTimeFormat("%%H:%%M:%%S %%Y-%m-%d"); {{tag> import_engine sync_engine}}