How to check today date with date range?
This is an open discussion with 3 replies, filed under XSLT.
Search
There's an utility to compare dates: Date utilities.
for debug's below: Slideshow2012-09-132012-09-14Slide 1img-01.jpg2012-09-132012-09-16Slide 2img-02.jpg
Thanks alpacaaa I will try that :)
Create an account or sign in to comment.
Hi there, I'm a newbie for symphony cms and not quite familiar with xsl.. I'm confuse with date comparison If I have images and would like to set the image to show between this period such as - image 1 show from '2012-09-14' till '2012-09-16' - image 2 show from '2012-09-14' till '2012-09-17' - image 3 show from '2012-09-15' till '2012-09-17' ... so on
I use $today >= $date it's not work anymore and if I use $today = $date it show only today date equal date from or date till how to check this
my code below
sorry my english not quite good :p Thank you very much