- Posts: 647
- Thank you received: 31
Registrants - possibility to export fields like EVENT_DATE in datetime format?
- David Unwin
-
Topic Author
- Offline
- Platinum Member
-
Less
More
3 years 10 months ago #144310
by David Unwin
Registrants - possibility to export fields like EVENT_DATE in datetime format? was created by David Unwin
We export registrations data for further analysis via tools like MS Excel.
Everything works fine apart from Date and Time Fields such as EVENT DATE.
These fields are exported as Text Fields ie 'Wednesday, 19th May, 2021 8:00 am'
This means we cannot use Excel DATE and TIME Functions to extract information such day (ie Monday, Tuesday) from these fields, which would be very useful for our analysis
Is it possible to change the output of these Date and Time fields to DATETIME Format in the exported Spreadsheet(xlsx)?
I can't see anything anywhere to do this?
Everything works fine apart from Date and Time Fields such as EVENT DATE.
These fields are exported as Text Fields ie 'Wednesday, 19th May, 2021 8:00 am'
This means we cannot use Excel DATE and TIME Functions to extract information such day (ie Monday, Tuesday) from these fields, which would be very useful for our analysis
Is it possible to change the output of these Date and Time fields to DATETIME Format in the exported Spreadsheet(xlsx)?
I can't see anything anywhere to do this?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 years 10 months ago #144312
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Registrants - possibility to export fields like EVENT_DATE in datetime format?
The system uses the format from Event Date Format config option. So if you want to change that format, go to Events Booking -> Configuration, change Event Date Format config option to the format you want before doing the export.
Please Log in or Create an account to join the conversation.
- David Unwin
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 647
- Thank you received: 31
3 years 10 months ago - 3 years 10 months ago #144323
by David Unwin
Replied by David Unwin on topic Registrants - possibility to export fields like EVENT_DATE in datetime format?
Hi Tuan,
We already have Date format set correctly but the output of excel file is still text format not datetime form. Should I set up a support ticket to send you more information?
This is NOT an urgent problem. We can live with it for the moment
Kind regards
David
We already have Date format set correctly but the output of excel file is still text format not datetime form. Should I set up a support ticket to send you more information?
This is NOT an urgent problem. We can live with it for the moment
Kind regards
David
Last edit: 3 years 10 months ago by David Unwin. Reason: Extra info.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 years 10 months ago #144330
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Registrants - possibility to export fields like EVENT_DATE in datetime format?
Hi David
I have checked the code again and confirm that the code already used Date Format in Event Date Format config option
So in this case, I think it might happens because the office program which you are using changes the date format?
Could you change Export Data Format to CSV, then export again, and open the exported file in a text editor to see if it is in right format?
Tuan
I have checked the code again and confirm that the code already used Date Format in Event Date Format config option
So in this case, I think it might happens because the office program which you are using changes the date format?
Could you change Export Data Format to CSV, then export again, and open the exported file in a text editor to see if it is in right format?
Tuan
Please Log in or Create an account to join the conversation.
- David Unwin
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 647
- Thank you received: 31
3 years 10 months ago - 3 years 10 months ago #144344
by David Unwin
Replied by David Unwin on topic Registrants - possibility to export fields like EVENT_DATE in datetime format?
Hi Tuan,
I tried as you said and exported the data as CSV. I then imported into LibreOffice (which a competitor to MS Excel), Same result.
I then tried importing it into Google Sheets again same result.
I have attached a screen shot of the imported registrants file in Google Sheets and also a sample registrants list (CSV format) in zip file
I try and use the Month function to extract the month from the Event Date - The error which Google Sheets gives is #VALUE!
I tried as you said and exported the data as CSV. I then imported into LibreOffice (which a competitor to MS Excel), Same result.
I then tried importing it into Google Sheets again same result.
I have attached a screen shot of the imported registrants file in Google Sheets and also a sample registrants list (CSV format) in zip file
I try and use the Month function to extract the month from the Event Date - The error which Google Sheets gives is #VALUE!
Attachments:
Last edit: 3 years 10 months ago by David Unwin. Reason: Add zip file
Please Log in or Create an account to join the conversation.
- David Unwin
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 647
- Thank you received: 31
2 years 11 months ago - 2 years 11 months ago #151697
by David Unwin
Replied by David Unwin on topic Registrants - possibility to export fields like EVENT_DATE in datetime format?
I have just revisited this issue.
The way to get the date(s) in the correct format (Date time) is to export the events as a CSV file.
Then when you import. Excel and/or Libre Office will allow you to select each column and a format. By default it is STANDARD. For the Date fields you should select Column Type DATE Y-M-D
The date will be imported as a date/time field which you can then perform Excel functions on.
The way to get the date(s) in the correct format (Date time) is to export the events as a CSV file.
Then when you import. Excel and/or Libre Office will allow you to select each column and a format. By default it is STANDARD. For the Date fields you should select Column Type DATE Y-M-D
The date will be imported as a date/time field which you can then perform Excel functions on.
Last edit: 2 years 11 months ago by David Unwin.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.