TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:setwritetimeformat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:sync:setwritetimeformat [2018/10/19 02:27] Scott Cunliffeengine:sync:setwritetimeformat [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== SetWriteTimeFormat =====+====== SetWriteTimeFormat ======
  
 Define the way that the WRITETIME field should be converted into a time value. Define the way that the WRITETIME field should be converted into a time value.
  
-==== Phase ====+===== Phase ====
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
-==== Syntax ==== +===== Syntax =====
-**SetWriteTimeFormat**(//format//);+
  
-string //format;//+''SetWriteTimeFormat(format);''
  
-|format| The Write Time format in strptime(3) format.|+^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|format| String | The Write Time format in strptime(3) format.|  1 |  32 |
  
 <note tip> <note tip>
Line 18: Line 19:
 symbol that would usually be required by strptime(3).</note> symbol that would usually be required by strptime(3).</note>
  
-==== Example ====+===== Example =====
  
 Extract the Write Time in format HH:MM:SS YYYY-MM-DD. Extract the Write Time in format HH:MM:SS YYYY-MM-DD.
  
-<sxh> +<code>
-+
-# Extract WRITETIME from field 10, length 20.+
 Extract(WRITETIME, 10, 20, 0); Extract(WRITETIME, 10, 20, 0);
  
-# Set the Write Time in format HH:MM:SS YYYY-MM-DD. 
 SetWriteTimeFormat("%%H:%%M:%%S %%Y-%m-%d"); SetWriteTimeFormat("%%H:%%M:%%S %%Y-%m-%d");
 +</code>
  
-</sxh>+{{tagimport_engine sync_engine}}
engine/sync/setwritetimeformat.1539916079.txt.gz · Last modified: 2025/01/21 22:07 (external edit)