Hi

Apologies for noobness of my question ( sadly I am not a programmer ). I am using the Date module to store dates on nodes and generate repeating dates. However I need to do some subsequent processing of the repeating dates. Specifically if a repeating date is specified as occuring on a Sunday I need to shift it to the following day.

Firstly,am I correct in assuming that the various function calls provided by the Date modules are designed to improve on the native PHP date related functions ( primarily because they generalise across PHP versions ) ?

Secondly, in my scenario should I be looking at using "function date_day_of_week_name" to determine what day my date is, and then the "function date_modify" to add a day if we are on Sunday ? Is this a sound approach ?

Thanks for any pointers.

Comments

DamienMcKenna’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

We're sorry but the D6 release of Date module is no longer being supported. You are encouraged to update to Drupal 7 or 8, or direct questions to Drupal Answers.