The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
106 views

How do I set the exact post date timestamp as Views contextual filter?

I need to display nodes that were created within a certain period of time. Setting Date: Date (node) (content: post date) as contextual Views filter works super smooth. Now when I call ...
0
votes
0answers
8 views

Undefined index: cck_time_field_presave()

I have imported about 2 thousand nodes that include start time. I have imported and the formating and time looks the way it should. Now if i try to publish the nodes i get following error - ...
0
votes
0answers
21 views

Get Booking Timeslots to run

I can't get the Booking Timesltots modul to run. I installed everything, to this point everything works fine. Can anyone tell me step by step the settings configuration? At the moment I don't ...
0
votes
1answer
66 views

Drupal7 | Time shows differently in Frontend and Backend

The front end time shows as 3 hours behind the backend time of the same page. The correct time is the one on the backend. I set the time-zone correctly for the user and also the time show correctly ...
0
votes
2answers
159 views

Incorrect Time showing on frontend

I have installed the Date Module and added a date field to one of my content types, the widget I'm using is Popup Calendar. The problem I'm facing is that when I choose a date it seems to get stored ...
2
votes
2answers
335 views

How to Sum up 2 fields of integer, and present as “Time period”?

I am building a recipes site. I have 2 fields: "prep time" and "cook time". Both fields are: FIELD TYPE = Integer WIDGET = Time Period I need to sum up the two fields to one field (total time), ...
1
vote
2answers
129 views

How to collect Duration input, and let Google read it in “ISO 8601 duration format”?

I am building a Recipes site. As Google is demanding here: https://support.google.com/webmasters/answer/173379?hl=en I need to collect prepTime, cookTime and totalTime, in ISO 8601 duration format. I ...
0
votes
1answer
132 views

How to collect time periods, calculate the total, and present in ISO 8601 format?

I am trying to get few inputs of time periods from users (it can be by choosing in dropdown). let's say a user will be able to input in one field: "1 hour and 5 minutes" or 01:05; In second field the ...
1
vote
1answer
72 views

Can the Devel page generation times be placed at the top of the page?

Can the Devel page generation times be placed at the top of the page?. Devel places the page timer and memory usage figures at the bottom of the page making it necessary to scroll down to view them. ...
2
votes
1answer
528 views

How to migrate date fields correctly?

I want to migrate taxonomy terms from a legacy database to my drupal 7 installation. This is working almost as desired. What I do is basicly define a mapping as described in any migration example, ...
0
votes
1answer
63 views

Publish press release at a precise time

My department is planning to move its website to a new platform in the next year. We are evaluating several options including Drupal and Liferay. One of the critical requirements is that we need to ...
0
votes
1answer
22 views

Date problem after restore

I had to restore a drupal 7 site from scheduled backup using backup & migrate. Since then I seem to have problem with date/timestamp. I have a view (3.6) filtering on node created date with ...
0
votes
0answers
67 views

Time filter in the views

I installed the Quiz module. This module adds a new views filter called "Quiz:End time". Now I can add some conditions to the filtering of views for example filter the results that the end time of ...
0
votes
0answers
316 views

Troubleshoot PDOExeption SQLSTATE[22007]: Invalid datetime format: 1366

I am evaluating NodeStream with its web newspaper product. When I create content with devel generate, I am presented with: PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect ...
1
vote
1answer
30 views

How to collect and publish time duration from users?

I am creating a cooking site. I want to collect time duration for the recipe from the user. Meaning, I want to collect the cooking time (e.g. 0:35 minutes or 1:10) from the user with a drop down ...
0
votes
1answer
845 views

how to show the date the node was created?

i have used the format_date() in my template files to try and output the date created. i followed this tutorial http://webwash.net/tutorials/handling-date-and-time-drupal-7 i created a date format ...
0
votes
0answers
189 views

Displaying only 2 digits in the countdown timer field

I am using the Countdown Timer Field. However, If i put in a value for the time to finish as greater than, say 100 days from the day it is created , i see only 2 values appearing. Let say the number ...
1
vote
1answer
220 views

Associating a timer on flag click on individual nodes for individual users

I have a custom field "Time to Finish" in my custom content type in Drupal7. The "Time to Finish" is basically a timer of sorts. whenever the users click a flag (which is placed on nodes of that ...
1
vote
0answers
39 views

How to change Watcher module's time format so it only displays the time in one line?

I am using the Watcher module for a client's site. I am looking for a way to change the time format so instead of saying 2 days 20 hours ago, it says 2 days ago. Of course, it seems to be OK when it ...
2
votes
3answers
920 views

Drupal Time field for hour:minute:second.tenth of a second

Is there a drupal field type to represent time for athletics sports events. e.g. for 100m sprint: 10.42 seconds but for 800m 1:40.89 (1 minute, 40.89 seconds) In the format : hour:minute:second.tenth ...
0
votes
2answers
85 views

Monthly magazine content organising

I have to develop a monthly online magazine and I am looking for suggestions on the best way to organize the content. Since it's a monthly publication, I want to organise content under January, for ...
6
votes
3answers
667 views

Use Timeago date format for less than 24h ago only

I would like to use the Timeago module as a date format. However, when the time ago has exceeded 24h, I would like it to show another format (e.g. 4 Feb, 2013) much like Twitter or Dribbble use. I ...
0
votes
2answers
815 views

Integer field with unix timestamp convert to readable date in views

I have an Integer field in a content type, which contains a unix timestamp. *(It is not a date module field; just a simple Integer field). In a View, I am rendering this field, but obviously it is ...
1
vote
1answer
106 views

Why are responses for AJAX POST calls in admin UI so delayed

Just in the past day or so, something has happened to my site. For some reason, all AJAX calls from Drupal's admin UI are now taking about 50 seconds a piece. This is absolutely maddening because ...
6
votes
1answer
581 views

Drupal daylight savings issue

My drupal installation is still displaying summer time after the daylight savings switch yesterday. Wrong dates include the following pages: Views displaying nodes with created/updated fields ...
1
vote
0answers
80 views

Date Field shows different times in Frontend and Backend

I have a date field applied to a node. When I set the time in the date field to i.e. 10am and render that date to my website like so: echo date('d.m.Y H:i', ...
2
votes
1answer
585 views

FROM_UNIXTIME(o.created,'%d-%m-%Y') in where clause gives error

I am working on Drupal 6. while executing query when I add and FROM_UNIXTIME(o.created,'%d-%m-%Y') < '".arg(3)."'"; to WHERE clause it doesn't return result. i have tried by using same query in ...
0
votes
1answer
611 views

How to use Drupal unixtime instead of timestamp

What is the proper Drupal way to deal with timestamp fields? I wanted to create two timestamp fields in a MySQL table, but ran into some problems that I can't solve (see this question). So now I ...
0
votes
1answer
292 views

Can I create a table with hook_schema that has two timestamp fields?

For my module I want to create a table with an updated_on and created_on field, both of type timestamp. I found this can be done with mysql_type, but you need to specify a default value for that ...
4
votes
3answers
676 views

Math Expression in Views: Date functions like now()

Is there Date expressions or function? I'd like to calculate a duration between a date field and today ? Is there a now(), today() function? i'd like this kind of math expression: now() - ...
1
vote
2answers
841 views

Publish node for a specific period of time

is there any module which allows user (with a permission) to publish node for a specific period of time? For example, when publishing an article, user decides that it should be published (visible) ...
0
votes
2answers
139 views

Calculate sum in View of ISO-style timestamps

I have a text field on a node type, which the user fills out with a video duration in ISO format (no validation or anything). So, '4:33' or '04:33' would be likely values for this field. The client ...
2
votes
2answers
355 views

How to select every date before now in timestamp?

my database feild type is timestamp here is my code I used it but It also gave me today date I need every date before today "SELECT * FROM {mytable} WHERE date <".$now_timestamp." " please ...
0
votes
1answer
322 views

Timetable for event.

i'm trying to create a timetable using Drupal 7. I need this timetable for an event. At the moment I created it throught views but I think it is too much "heavy". I did it in this way. I created 3 ...
2
votes
2answers
259 views

Create a time span field

The date module provides a handy widget for specifying a date. Is there something similar on Drupal 6 for specifying a length of time such as 6 months or 3 days? The time span will need to be ...
0
votes
0answers
94 views

How to set default time manually?

I am using calender module and going to set up a site. The problem is that the default time on the site can not be set correctly through admin/settings/date-time to reflect the local time. The ...