Hello!

Did you know that logged in users can see a lot more content?

Define customized date format

Last updated March 12, 2019 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2019

Define customized date format

Define customized date format

Use mid function to find year, month and day:

mid("","","") string, offset, n

year:

mid(format(GetValue("DATE"),"Date","dd.mm.yyyy", ),"6","4")

month:

mid(format(GetValue("DATE"),"Date","dd.mm.yyyy", ),"3","2")

days:

mid(format(GetValue("DATE"),"Date","dd.mm.yyyy", ),"0","2")

Combine all above in rule:

mid(format(GetValue("DATE"),"Date","dd.mm.yyyy", ),"6","4")+"-"+

mid(format(GetValue("DATE"),"Date","dd.mm.yyyy", ),"3","2")+"-"+

mid(format(GetValue("DATE"),"Date","dd.mm.yyyy", ),"0","2")

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
No votes yet