meeting-room-booking-system / mrbs-code

MRBS application code
Other
120 stars 58 forks source link

Output time, and date in report in different format #1263

Open jberanek opened 10 years ago

jberanek commented 10 years ago

Hello, I am looking for a way to format the output of the start time/date and end time /date of a booking to show the content in seperate fields with different format than it is today. Currently I am getting dates like this: 15:30:00 - Donnerstag 06 Februar 2014. Would like to get this as "15:30:00";"06.02.2014"; so that Excel or Access can interpret this as date. something like "15:30:00 - 06.02.2014" would also be acceptable.

Is there any easy way for a NON Php expert like me to get this arranged ? Thanks in advance Horst

Reported by: *anonymous

Original Ticket: mrbs/support-requests/528

jberanek commented 10 years ago

In your config file set

$strftime_format['datetime24'] = '%H:%M:%S - %d.%m.%Y';

See https://php.net/strftime for more options.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

That's perfectly what I was looking for!! Thank you Campbell Regards, Horst

Original comment by: *anonymous