Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Help with Tokens Date Format

Help with Tokens Date Format 2 years 6 months ago #104209

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
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 administrator has disabled public write access.

Help with Tokens Date Format 2 years 6 months ago #104494

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Anyone???
The administrator has disabled public write access.

Help with Tokens Date Format 2 years 6 months ago #104606

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
Think it's a SQL date format:

2914-02-05 23:59:59
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Help with Tokens Date Format 2 years 6 months ago #104618

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5096
  • Thank you received: 756
  • Karma: 227
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Last Edit: 2 years 6 months ago by holch.
The administrator has disabled public write access.

Help with Tokens Date Format 2 years 6 months ago #104710

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Thanks everyone. It was the format of the date, it ha to be: 14.02.06 (YY.MM.DD)
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Help with Tokens Date Format 2 years 6 months ago #104742

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Help with Tokens Date Format 2 years 6 months ago #104746

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Have no ideia, I just start trying different ways to present the date and that one was te one that worked ;)
The administrator has disabled public write access.

Help with Tokens Date Format 2 years 6 months ago #104760

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5096
  • Thank you received: 756
  • Karma: 227
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"?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.233 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form