ZTree.com  | ZEN  | About...  

 Index   Back

[Q] Ctrl-Batch Parameters for separated Date/Time variables?   [Q]

By: Dan LeGate       
Date: Jan 18,2024 at 06:42

I notice %d and %dm return date formats in:

" 1-17-2024 6:01:21 pm"

format.

Are there any parameters available that would return just the pieces of the dates separated into month / day / year / hour / minute / second / am-pm?

Example:

%x1 = 01
%x2 = 17
%x3 = 2024
%x4 = 06 (or 18, for 24hr)
%x5 = 01
%x6 = 21
%x7 = pm

Sure would be handy for scripting.

207 views      
 

Messages in this Thread

 
96,664 Postings in 12,235 Threads, 350 registered users, 274 users online (0 registered, 274 guests)
Index | Admin contact |   Forum Time: Jun 22, 2024 - 7:22 pm UTC  |  Hits:65,468,636  (92,441 Today )
RSS Feed