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/08/14 20:21] dcummingengine:sync:setwritetimeformat [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-setwritetimeformat+====== 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);'' 
 + 
 +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|format| String | The Write Time format in strptime(3) format.|  1 |  32 |
  
-|format| The Write Time format in strptime(3) format.| 
 <note tip> <note tip>
 It should be noted that by the time this function is run the INI engine has already tried to It should be noted that by the time this function is run the INI engine has already tried to
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 ====
-**SetWriteTimeFormat: Extract the Write Time in format HH:MM:SS YYYY-MM-DD.** + 
-|Extract(WRITETIME, 10, 20, 0);| Extract WRITETIME from field 10, length 20.| +Extract the Write Time in format HH:MM:SS YYYY-MM-DD. 
-|SetWriteTimeFormat("%%H:%%M:%%S %%Y-%m-%d");| Set the Write Time in format HH:MM:SS YYYY-MM-DD.|+ 
 +<code> 
 +Extract(WRITETIME, 10, 20, 0); 
 + 
 +SetWriteTimeFormat("%%H:%%M:%%S %%Y-%m-%d"); 
 +</code>
  
 +{{tag> import_engine sync_engine}}
engine/sync/setwritetimeformat.1534278106.txt.gz · Last modified: 2025/01/21 22:07 (external edit)