Display Age only in days

Moderator: crythias

Locked
jkoolen
Znuny newbie
Posts: 3
Joined: 01 Sep 2010, 08:07
Znuny Version: 2.4.7

Display Age only in days

Post by jkoolen »

Hi,

I would like to display the "Age" in "Days" in stead of "Days, Hours, Minutes". Is there a function that converts the current format to only days? I used $TimeShort() on several locations to display dates, but can't find a function to display a time in days.

Regards,

Jeroen
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Display Age only in days

Post by MichaelR »

Just cut out the hours & minutes?
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
Locked