Jump to content
TNG Community

date-time format change in Report


Jan Bastiaanssen

Recommended Posts

Jan Bastiaanssen

How can i change the date-time format in the Last Modified Date column as in the Death Date column in this report ?

Thanks, Jan

Screenshot_1.jpg

Link to comment
Share on other sites

Jan,

In Setup >> Configuration >> General Settings>>Miscellaneous I have set the Numeric Date Preference to:

image.png

My test report looks like this:

image.png

 

Maybe that helps.

Rob

 

Link to comment
Share on other sites

Jan Bastiaanssen

Thanks Rob,

I don't get it, tried to do settings-option again with no result.

Checked my gedcom, is ok.

So i will look into my database, possibly there might be something wrong.

Jan

 

Link to comment
Share on other sites

Jan,

For what it's worth here's my SQL statement:

 

SQL: SELECT tng_people.living, tng_people.private, lnprefix, prefix, suffix, title, tng_people.branch, birthdate, birthdatetr, altbirthdate, altbirthdatetr, deathdate, deathdatetr,lastname,firstname,altbirthdate,DATE_FORMAT(tng_people.changedate,'%d %b %Y') as changedate_disp, tng_people.personID, tng_people.gedcom, nameorder FROM (tng_people ) WHERE (lastname = "Keulen") AND tng_people.gedcom = "Sev1" ORDER BY changedate

 

Rob

Link to comment
Share on other sites

Jan Bastiaanssen

Many thanks Rob,

DATE_FORMAT(tng_people.changedate,'%d %b %Y') as changedate_disp

That gave me the solution.

Thanks a lot

Jan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...