Welcome, Guest
Username: Password: Remember me

TOPIC: Timeago feature

Timeago feature 1 year 3 weeks ago #94248

  • tfj
  • tfj's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 80
  • Thank you received: 6
  • Karma: 5
Greetings:

Has anyone used a "timeago" feature in LimeSurvey? I want to be able to input a date (in mm-dd-yyyy format) and display a message along the lines of "The date you entered was 10 years, 5 months, and 12 days ago."

I have been using equation type questions along with a text display, but I have not yet been able to make it work properly.

Any ideas?

Thanks!

tfj
The administrator has disabled public write access.

Timeago feature 1 year 3 weeks ago #94328

  • tfj
  • tfj's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 80
  • Thank you received: 6
  • Karma: 5
Greetings:

I came up with a solution for a "timeago" function that will work for now. I have attached a sample survey in case it may help someone else, or if anyone wants to add improvements.

As you will see on the second page of the survey, there is a display of how much time has elapsed between today's date and the date the user enters. It displays in Years, Months, and Days.

tfj
Attachments:
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.114 seconds
Donation Image