Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Help with Tokens Date Format

  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #104209 by Serafim
Help with Tokens Date Format was created by Serafim
Hi everyone,

I need your help with Tokens Date Format.

In my survey I need to insert a date in each token in "Valid Until" each week, and every week I have to insert it one by one... I tried a lot of formats in the import file, but it always comes out empty.

Thanks for the help.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #104494 by Serafim
Replied by Serafim on topic Help with Tokens Date Format
Anyone???
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 years 2 months ago #104606 by DenisChenu
Replied by DenisChenu on topic Help with Tokens Date Format
Think it's a SQL date format:

2914-02-05 23:59:59

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago - 11 years 2 months ago #104618 by holch
Replied by holch on topic Help with Tokens Date Format
The easiest way to find out how the tokens date format works is creating a token from the GUI, export it and you should have an example how it needs to look like.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 11 years 2 months ago by holch.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #104710 by Serafim
Replied by Serafim on topic Help with Tokens Date Format
Thanks everyone. It was the format of the date, it ha to be: 14.02.06 (YY.MM.DD)
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 years 2 months ago #104742 by DenisChenu
Replied by DenisChenu on topic Help with Tokens Date Format

Serafim wrote: Thanks everyone. It was the format of the date, it ha to be: 14.02.06 (YY.MM.DD)

:blink: What this format ?????

Strange (and thanks).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Serafim
  • Serafim's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #104746 by Serafim
Replied by Serafim on topic Help with Tokens Date Format
Have no ideia, I just start trying different ways to present the date and that one was te one that worked ;)
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago #104760 by holch
Replied by holch on topic Help with Tokens Date Format
This is a really strange format. And I am not sure if it is not actually DD.MM.YY, which would fit with the German date format.

What date format have you chosen in the section of "Edit survey text elements"?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose