Hello everyone,
I have a problem of calculating the number of days left till the date (timestamp(8)) acquired from database. Here is the script I have written:
The time interval in what the query works is 20 days.
The output is like this:
Date:[28.06.2003]
(After 11 days)
28.-29.06., EÈ autokrosâ v/a, 5. posms, Vâcija, Seelow
Date:[05.07.2003]
(After -12 days)
05.-06.07., EÈ autokrosâ v/a, 6.posms, Èehija, Nova Paka
Date:[05.07.2003]
(After -12 days)
05.-06.07., EÈ rallijkrosâ v/a, 5.posms, Zviedrija, Holjesbanan
Date:[06.07.2003]
(After -11 days)
LÈ autokrosâ v/a, 3. posms, Tukums, "Melnezers"
What is wrong with substracting two date formats?