Home › Forums › Support › Add time (or time ago) to date in query loop This topic has 4 replies, 2 voices, and was last updated 2 years, 2 months ago by David. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts July 30, 2022 at 1:21 am #2297887 Niek Hi there, Im trying to get the time, or even better yet, the time ago added to the date field in the query loop of elements. I see no option anywhere. Is there a way to achieve this? Maybe by editing functions.php? July 30, 2022 at 2:49 am #2297913 Niek It seems it takes the date from settings -> general, so that is fixed. Would be nice if someone knows how to format it like xx minutes/hours/days ago July 30, 2022 at 4:56 am #2297972 DavidStaff Customer Support Hi there, thats the correct, as GP / GB will use the get_the_date function to display dates. That function can be filtered to display the Time Ago – see Toms reply here: https://generatepress.com/forums/topic/display-time-ago/#post-452639 July 30, 2022 at 4:59 am #2297973 Niek Thanks! Ill manage with that! July 30, 2022 at 5:31 am #2297993 DavidStaff Customer Support Glad to be of help Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In