- Posts: 21
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Formated expiration date and time in the Survey Description
- pokeydale
- Topic Author
- Offline
- Junior Member
Less
More
4 years 10 months ago #184980
by pokeydale
Formated expiration date and time in the Survey Description was created by pokeydale
In the survey invitation and reminder I am able to add the following code (see below) to get a nicely formatted expiration date and time. When I add the same code to the survey description I get nothing. Is there way to get the same formating in the body of the assessment (description, welcome message, questions, etc..)
{date("l, F jS, Y h:ia",strtotime(EXPIRY))}
{date("l, F jS, Y h:ia",strtotime(EXPIRY))}
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 10 months ago #184985
by jelo
With Version 3.17.3+190429 i can use the code in the welcome message.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Formated expiration date and time in the Survey Description
What version of LimeSurvey is used?pokeydale wrote: {date("l, F jS, Y h:ia",strtotime(EXPIRY))}
With Version 3.17.3+190429 i can use the code in the welcome message.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
The topic has been locked.
- pokeydale
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 1
4 years 10 months ago #184992
by pokeydale
Replied by pokeydale on topic Formated expiration date and time in the Survey Description
We are using version 3.17.3+190429... I am not able to get the same results. Is this the correct code?
{date("l, F jS, Y h:ia",strtotime(EXPIRY))}
{date("l, F jS, Y h:ia",strtotime(EXPIRY))}
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 10 months ago #184993
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Formated expiration date and time in the Survey Description
Same as Jelo:
Here in the demo installation:
So without more information we are not able to help.
Send a sample (*.lss) that shows your problem
Joffm
Here in the demo installation:
So without more information we are not able to help.
Send a sample (*.lss) that shows your problem
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 10 months ago #185001
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Formated expiration date and time in the Survey Description
@Joffm & @jelo : you can use EXPIRY from token in survey ? Really ?
You don't have to use TOKEN: ?
It's strange if it work without TOKEN:
You don't have to use TOKEN: ?
It's strange if it work without TOKEN:
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 10 months ago #185003
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Formated expiration date and time in the Survey Description
It's EXPIRY from the Surveysetttings, not an individual token expiry date.
LimeSurveys lazy concept of using variablenames more then once via context is the way to hell
LimeSurveys lazy concept of using variablenames more then once via context is the way to hell
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 10 months ago #185006
by DenisChenu
But EXPIRY in mail (invite and remind) are TOKEN:EXPIRY
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Formated expiration date and time in the Survey Description
Oh rightjelo wrote: It's EXPIRY from the Surveysetttings, not an individual token expiry date.
But EXPIRY in mail (invite and remind) are TOKEN:EXPIRY
Good idea to force usage of TOKEN:XXX for mail (invite and remind) : less errrorsjelo wrote: LimeSurveys lazy concept of using variablenames more then once via context is the way to hell
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 10 months ago #185035
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Formated expiration date and time in the Survey Description
I agree.Good idea to force usage of TOKEN:XXX for mail (invite and remind)
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 10 months ago #185036
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Formated expiration date and time in the Survey Description
This is a previous survey broker … must take care …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.