This tag can be used for questions about the Date module, or dates.

learn more… | top users | synonyms

0
votes
2answers
19 views

Rules offset with a fixed time

I'm trying to set data value for a date field. The value is 7 days after a node was created. This works fine but I would like to have a fixed time of 6pm as the time value. Currently the time is set ...
2
votes
2answers
48 views

Storing a date created with Form API

Very simply, I'm creating a date of birth field pragmatically like so: $form['dob'] = array( '#type' => 'date', '#required' => TRUE, '#title' => t('Date of Birth'), ...
0
votes
0answers
10 views

Recurring events - retrieving/displaying the dates for the current “instance” of the event

I have an events page on my (D7) site, and the admin can set up recurring events. When creating a list of the events, I see the recurring events come through in the right place intermingled with the ...
0
votes
1answer
21 views

Why using of custom date format makes my Drupal date outdated and does not change at all?

I have custom installation profile and I must set date formats programmatically. I tried: db_insert('date_formats') ->fields(array( 'format' => $format_long, // PHP Date String ...
2
votes
1answer
20 views

How do I format a date value for a 3-column date drop-down widget?

I would like to pass a date in the format 2013-04-23 00:00:00 as a #default_value into a form builder function: $form['date'] = array( '#title' => t('Date'), '#type' => 'date', ...
0
votes
0answers
12 views

rewrite the url output of the date module date filter criteria

I have an optional filter criteria of type date created, that uses the date module. I need to clean up the url format from: http://www.example.com/gigs?month[value][date]=2013-04 to something ...
0
votes
1answer
30 views

Date import using csv

On my D7 site, I am trying to import few nodes using feeds csv file. I am able to import some of the fields but I am unable to import CCK date field content. I have tried using feeds module with ...
0
votes
0answers
21 views

Display default value in date_popup [duplicate]

I can't display the default value of the $date_debut in form. Dpm shows me that the right values are there and I can display $date_debut in #title but not on #default_value. any idea why ? ...
2
votes
1answer
83 views

How to implement a mysql date or datetime field correctly in hook_schema()?

I have written a mymodule.install file which contains a schema definition to create a table in my database. This table contains two data fields. Theese fields will be populated by the users when they ...
0
votes
1answer
27 views

How to add custom functionality on per-date base to nodes that use date fields for an event ticket system?

For an event ticket system I have created a node type with multiple date fields including start- and end-dates. -EVENT1- Date A Date B - Date F Date G - Event2 - Date B Date C Date E - Date G Now ...
0
votes
0answers
9 views

Date Fields get weird with DST

I have a content type with a date field. I set up the Date field to use the page default time zone. In my case Europe/Vienna +1:00. But since the daylight saving time is on, everything got weird: ...
0
votes
0answers
38 views

date_popup gives Fatal error [closed]

I am developing a custom module wich has a form. I need to create date_popup field in that form. so I installed the date module in "sites/all/modules/drp" and my own module is in ...
0
votes
0answers
30 views

Date Field in Add Content for custom content type displayed as textfield

I'm working on a module and I'd like to display an add content form for a custom type (Event) that contains a date. Here's what I do: <?php $new_event_node = new stdClass(); ...
0
votes
2answers
26 views

Is there a module for showing only posts in some defined date?

I would like to make a calendar addon for my website, which would look something similiar to http://www.nikerigarun.lv/ this (scroll it a bit downwards, on the right side). The funcionality would be ...
0
votes
1answer
13 views

Date Calender Starting Date of Field B should be equals to or advanced from the Ending Date of Field A

I have created a form using webfrom module. The form contains Arrival Date and Leaving Date. I want Leaving date should either be same as Arrival date or higher than that.

1 2 3 4 5 19
15 30 50 per page