View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19672Bug reportsStatisticspublic2026-10-27 18:38
Reporterbebe Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionno change required 
Product Version5.6.x 
Summary19672: Time calucation inconsistency in built-in variables
Description

Hi,

Theoretically the "submitdate - startdate" would not be much different from the "interviewtime" variable.

But how it comes in my collected response that they are very different from each other?

Attached is the screenshot of my collected sample, thank you for your kind advice!

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
20240731145932.png (1,124,456 bytes)
Bug heat2
Complete LimeSurvey version number (& build)Limesurvey Community Edition 5.6.9
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.7
Server OS (if known)Ubuntu
Webserver software & version (if known)
PHP Versionphp 8.0
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-27 18:38

administrator   ~86905

The two values measure different things.
The total time adds up the time spent on each page that was sent, including the welcome page. Pages that were never sent (browser closed, session expired, survey resumed later) are not counted.
The start date is only set when the participant leaves the welcome page, and the time between start and submit also includes any breaks.
So a welcome page left open before the interview makes the total time larger, and a break or a resumed survey makes the start/submit difference larger. This works as intended.

Issue History

Date Modified Username Field Change
2024-07-31 09:02 bebe New Issue
2024-07-31 09:02 bebe File Added: 20240731145932.png
2026-10-27 18:38 c_schmitz Note Added: 86905
2026-10-27 18:38 c_schmitz Bug heat 0 => 2
2026-10-27 18:38 c_schmitz Severity block => minor
2026-10-27 18:38 c_schmitz Status new => closed
2026-10-27 18:38 c_schmitz Resolution open => no change required