Hesk Date Format

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
hapless
Posts: 2
Joined: Wed Oct 25, 2006 5:01 pm

Hesk Date Format

Post by hapless »

Script URL:www.jarrowschool.co.uk
Version of script:
Hosting company:totalchoicehosting.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:date format

Write your message below:

Can anyone tell me hoe to change the date format in Hesk to read
DD-MM-YYYY


Thanks for a great script Klemen - working great in 2 schools!!
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

The YYYY-MM-DD hh:mm:ss is format of the "datetime" columns in MySQL and I don't think that can be changed. To completely change the date handling it would require more editing and is unfortunately out of the scope of my support. Sorry!

But to point you into the right direction, you could use something like

Code: Select all

$ticket['dt']=date('d-m-Y', strtotime($ticket['dt']));
before printing out the date in print_tickets.inc.php, admin_ticket.php, ticket.php and print.php

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
hapless
Posts: 2
Joined: Wed Oct 25, 2006 5:01 pm

date/time

Post by hapless »

hi Stern,

many thanks for that - just having some moans from teachers as they cant seem to work out the date in its current format! we don't have a problem as a department though

regards

mark j
Post Reply