Questions tagged [datefield]

307 questions
0
votes
1 answer

Django wipe datefield value from view

Bit of a random question but ill try my best to describe what im trying to do. I am building a app to manage a set of physical assets which get loaned out. To return an asset the user visits /return/1/ which clears the name of the user, date…
xc0m
  • 121
  • 5
0
votes
1 answer

error when trying to change Review Date label in Drupal 7 "Dates without hours granularity must not use any timezone handling."

I am trying to change the label on a field "Review Date" -> "Display Date". But I get this error: "Dates without hours granularity must not use any timezone handling." Searching that phrase turns up the back end code that generates the error, but…
0
votes
2 answers

How to mask Datefield in Flex?

Does anyone know how to mask the input in a DateField in flex? Our DateField uses the format DD/MM/YYYY. Our users want: to be able to type the date in without having to type in the slash still be able to use the date selection in the date chooser…
cp5
  • 1,087
  • 6
  • 26
  • 58
0
votes
1 answer

How to generate a List of Dates with Start/End sorted by Month in Drupal7/Views?

I have installed Drupal7 and created a content type (why not call it 'event' for now) to which I added a date field (lets name it 'event-date'). Some event-dates have start- and end-dates. Now I want to generate a list of these events using 'views',…
headkit
  • 3,307
  • 4
  • 53
  • 99
0
votes
3 answers

Datefield changes to 2069 or 1970

I have a datefield in flex with editable="true". When I type: 20-1-69 and I go to another field, it changes into 20-01-2069. but I don't want it to change into 2069. Is it possible to turn off this automatically change thing? Thanks, JSMB
jsmb
  • 1
0
votes
1 answer

Obout Suite Superform DateField issue

I am using the Obout Suite in a website. I have a SuperForm control in which I have inserted some controls like BoundFields or DateFields. The problem is that when I select a date at the DateField Calendar, the textbox associated doesn't refresh…
cartojal
  • 11
  • 2
0
votes
0 answers

CF datefield - calendar icon doesn't trigger date picker while data is loading

I am using CF input calendar datefield on the very top of a page that renders a huge dataset from a query. The output from this huge query also has some pretty heavy code for each loop iteration. So, I have a very slow loading page. The problem is…
0
votes
4 answers

SQL query select data between two date fields

I am trying to select data from a table, using two date fields (startdate and enddate). With both date fields in the where clause no results are returned, with the startdate field taken out results are returned, what is going on? Can anyone help…
mattgcon
  • 4,768
  • 19
  • 69
  • 117
0
votes
1 answer

how i can export excel file from cakephp or from php of databse mysql

is way that i can export excel file with cakephp from database. my data is : [Name] [Tel] [Email] [date] Name 1 000 1@name.com (0000-00-00) Name 2 000 2@name.com (1391-12-01) Name 3 000 3@name.com (1391-12-01) type of fields is : Name and…
aya
  • 1,597
  • 4
  • 29
  • 59
0
votes
3 answers

Django DateField subtraction

I'm trying this: retVal= "" dI = models.DateField(date(year=2005, month=11, day=1)) dF = models.DateField(date(year=2005, month=11, day=6)) diff = dF - dI retVal += diff + "message" But I'm getting this error unsupported operand type(s) for -:…
geromerohn
  • 25
  • 4
0
votes
1 answer

How to fill date field via Rules in drupal

One content type in my drupal page (Drupal 7) has a date field. After importing start hour, start minute and duration (Integer values) from an XML file, I want to set date field of the node via Rules. It seems that I cannot access the start date,…
Vivid
  • 399
  • 1
  • 8
  • 19
0
votes
1 answer

Flex Combobox and DateField Weird Bug

Using Flex 4.1 Build 16076 I have an mxml file, containing a textinput, a button, a datefield and a combobox. The data provider for the combobox is an arraycollection. When the flex application is started, the combobox's dropdownlist shows up fine.…
Batuta
  • 1,684
  • 17
  • 48
  • 62
-1
votes
1 answer

Filtering object by datefield?

class Avergae(models.Model): state = models.ForeignKey(State, on_delete=models.CASCADE) region = ChainedForeignKey(Region, chained_field="state",chained_model_field="state", show_all=False, auto_choose=True, sort=False,…
venkat mani sai
  • 89
  • 1
  • 3
  • 11
-1
votes
1 answer

flex builder 3 : how to create automatically dateadd day/month/year process in datefield

i was trying to create automatically add day but result still math calculation not date calculation. example if you create +14 and you choose date 20-11-2016 the result should be 04-12-2016 but my function result still math calculation and result…
Ihsan Dn
  • 31
  • 8
-1
votes
1 answer

How to output the first date field from a record

Here is a sample record from a data file Ram|2015-03-01|204012|||inact|2014-02-01| There are hundreds of such records. I want to retrieve the first date field from the first record. I tried using grep but it prints the entire line. Output should…
1 2 3
20
21