Hi all,
After finding here a great solution to my issue in August, i come back again to ask you something.
I have create a "release date" date for products that i call : "Date de sortie" (French website )
I want Actinic to print this date and the sentence before this date only if the date is after the current date.
So I do it like this :
I put a block if with those conditions : Current Date > Date de Sortie
And inside the block if i put my sentence.
But, cause there's always a but, the current date variable is always 01/01/2006.
That bring me to my 2 questions :
1) Is it because i'm the preview mode and that the website is not live ?
2) Is the CurrentDate printing day/month/year or month/day/year ?
If this is month/day/year, i assume that i will need to create a variable myself (i.e "Date du jour") and putting an echo date("d/m/Y"); in it.
Best regards,
Paerrard
After finding here a great solution to my issue in August, i come back again to ask you something.
I have create a "release date" date for products that i call : "Date de sortie" (French website )
I want Actinic to print this date and the sentence before this date only if the date is after the current date.
So I do it like this :
I put a block if with those conditions : Current Date > Date de Sortie
And inside the block if i put my sentence.
But, cause there's always a but, the current date variable is always 01/01/2006.
That bring me to my 2 questions :
1) Is it because i'm the preview mode and that the website is not live ?
2) Is the CurrentDate printing day/month/year or month/day/year ?
If this is month/day/year, i assume that i will need to create a variable myself (i.e "Date du jour") and putting an echo date("d/m/Y"); in it.
Best regards,
Paerrard
Comment