[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Modification of a passed Date Value


If I have a stored in the following format: 20040218 (YYYYMMDD)

I would like to modify that format by adding 3 days, or perhaps subtracting
2.

>From the docs it looks like I can use the  convert_date tag to do this, but
only if I do not pass a date:

[convert_date -2][/convert_date] will subtract 2 days from the current
date/time.

[convert_date -2]20040218[/convert_date] ignores the -2 and just formats the
date.

The time tag looks like it only works with the current time as well. I
don't' seem to be able to pass it a date value.

Am I using these tags incorrectly?

Thanks,
Gary Norton
broadGap Technologies
http://www.broadgap.com



_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.