Welcome, Guest. Please Login
Tinderbox
  News:
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
A question of formatting... (Read 2234 times)
Sascha D.
Full Member
*
Offline



Posts: 9

A question of formatting...
Feb 19th, 2014, 3:04pm
 
Hello,
just discovered this amazing piece of software. Some weeks ago I visited a conference and used TB for preparing myself and of course for note-taking. Excellent tool and excellent tips for using TB on your homepage as well! Thank you for that! 

My job requires me to regularly assess my team members. For this I set up a note system and automated it to a certain degree (my hypertext skills are not very advanced). I also created a dashboard which among other things displays the date of the last note I took. Unfortunately, the date is presented in the long version, but I do not need to see the time, just the date.
Let me show you the problem:
I use $DisplayExpression to see this information (see below). The first part is in German (since I am from Germany this makes sense) and basically means "last note made on...". The name of the agent is (Summe Beurteilungsnotizen gesamt).

"Letzte Beurteilungsnotiz ist vom: " + $StartDate(lastChild(Summe Beurteilungsnotizen gesamt))  

How do I format the date into the short version?

Thanks for your support in advance!
Back to top
 
 
  IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: A question of formatting...
Reply #1 - Feb 19th, 2014, 5:05pm
 
Use Date.format(), for instance:

$StartDate(lastChild("Summe Beurteilungsnotizen gesamt")).format("l")

See more on date format strings.
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
Sascha D.
Full Member
*
Offline



Posts: 9

Re: A question of formatting...
Reply #2 - Feb 20th, 2014, 2:06pm
 
Thanks for the quick reply!
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print