time_format

Any questions regarding the practice version are asked and answered here.
Post Reply
Matthew John Smith
Posts: 8
Joined: Fri Jan 10, 2014 12:45 pm
Contact:

time_format

Post by Matthew John Smith »

Hi all,

setting up a drainage ppf and have $time on my title block
It is then changed by the Time Format box in the ppf editor.

I cant find anywhere what the "format" is or how to change it.

I want to change it to a simple dd/mm/yy format

Any help is greatly appreciated!

Regards,
Matthew
Matthew Smith
Civil Engineer
Cameron Gibson & Wells Ltd
Matthew Monk
Posts: 3175
Joined: Fri Oct 21, 2005 2:46 pm

Post by Matthew Monk »

The time format is documented in the 12d Help file, under the section PPF Editors->Title block. It is similar to the format used by the strftime() call in C++.

dd/mm/yy would be %d/%m/%y , e.g. 01/05/14 . To remove the leading zeros, you can use %#d/%#m/%y , e.g. 1/5/14 .
Matthew John Smith
Posts: 8
Joined: Fri Jan 10, 2014 12:45 pm
Contact:

Post by Matthew John Smith »

Thank you Matthew!!
Matthew Smith
Civil Engineer
Cameron Gibson & Wells Ltd
gul sher
Posts: 1
Joined: Thu Mar 26, 2015 4:04 pm

Post by gul sher »

It is similar to the format used by the strftime() call in C++. ???
Post Reply