Date format in custom columns

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Date format in custom columns

Post by *SQUIRE »

Has anyone noticed that when using the "tc" menu choices while setting up custom columns, the date format insists on showing the century i.e. DD/MM/YYYY and never simply DD/MM/YY? This is in spite of the box 'Show century in date (20xx)' being unchecked in Configuration/Tabstops. The date IS shown correctly as DD/MM/YY in non-custom column displays. Odd, but is it just me? Yeah, I know - it's only 2 chars but those are precious on a minimised screen!
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SQUIRE
here you go:
[=tc.writedate.D/M/y]
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

2Lefteous:

Thx for the quick reply. I just tried your suggestion and it's still DD/MM/YYYY. (using TC6.52). What am I doing wrong? Does TC need to be re-started after every change? I should say that I had previously used [tc.creationdate.D/M/Y h.m.s].
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SQUIRE
What am I doing wrong?
I don't know. It works fine for me. Just a lowercase y that's all.
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

2 Lefteous:

Well whaddya know, you're absolutely spot on - lowercase 'y' does the trick! How weird. Hope this appears somewhere in TC's documentation. Thanks a million.
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2SQUIRE
Hope this appears somewhere in TC's documentation
If you press F1 while in the Costum columns Edit box - you can see it on the bottom of the help page.

IMHO there should be a Help button in the Costum columns Edit box - I advocated for it in the beta-forum, but Christian wouldn't put it in at the time.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Re: Date format in custom columns

Post by *SQUIRE »

2petermad:

javascript:emoticon(':D') Ho, ho, so it does indeed! I agree with you that a Help box would have been useful right in the context dialogue. It never occurred to me to look up F1 for assistance. Still, having the date format case-sensitive is rather unusual isn't it? Reminds me of the good(?) old days deperately searching thru the command syntax for obscure Unix MAN commands. Perhaps this is indicative of why a wonderful piece of software like TC doesn't enjoy the far wider audience that it deserves, whereas MS's inferior stuff sells like hot cakes. MS does understand that its target does need a little hand-holding and makes the effort. IMHO, TC's docs, while effective for the reasonably knowledgeable, could do with a thorough and words-of-one-syllable revamp for unambiguous clarity, but I'm not holding my breath. Maybe Christian would rather not be swamped with a million punters asking silly questions!
Post Reply