Questions tagged as 'date'

1
answer

pdo date format

hi I want to show the date in this format in a query "d-m-Y" because when the storage in the bd is stored in this way "Y-m-d" type date append a piece of my query, thanks in advance 'while ($linea = $consulta->fetch(PDO::FETCH_ASSOC)) { ec...
asked by 13.02.2017 / 06:50
0
answers

RecyclerView with Dates

I want to filter in a recyclerView With Dates. To do this I make a query on the db SQLite, the dump in a cursor. I have created a method to which two variables type date di=fechaInicio and df=FechaFin are passed. My problem is that...
asked by 25.12.2018 / 22:27
1
answer

JSON variable in PHP

I bring the fields of a table via JSON, they are printed perfectly as <td>{{data.Vence}}</td> . My problem is that I want to compare this date with today + 30 to see if it is lower and declare an alarm, but I could not do it si...
asked by 19.12.2018 / 21:25
4
answers

Can I force Java to use the GMT / UTC + 0 time?

I am working with the APIs of Date and Time Java 8. In my code I am interested in taking the time GMT / UTC + 0 , but picks the one from the computer that is > GMT / UTC + 1 . Can I force Java to do this without having...
asked by 04.12.2018 / 12:45
0
answers

Problem when displaying data within a range of dates

I have an input date : <input id="start" type="date"><label>To</label><input id="end" type="date"> Result with dd-mm-aaaa format: This is my JS when you press Generate Report : fu...
asked by 12.12.2018 / 20:52
2
answers

How to convert a string to Local Date?

Goodbye people, I have dates in TD elements of a table that I want to modify, the time of those TDs is 11 hours +, and I have to transform them to local time and I also want to add the name of the DAY. As these TDs have a fixed width, the tim...
asked by 01.11.2018 / 23:23
1
answer

Concatenate date and time in a variable

I need to create a complete date with date and time, I have two functions that receive a date and another time and I want to concatenate them to show the following format: yyyy-MM-dd HH:mm:ss dateChange(selectedDate) { //console.log...
asked by 17.10.2018 / 13:40
1
answer

Show a date that entered in JText from Java and that is stored in SQL

I would not be able to enter a date of birth in my program to fill out a file of a client and save it in the sql database from xampp, I could do it as a string but obviously it does not take the bars "/ " I want to directly load the date and sav...
asked by 06.10.2018 / 18:53
0
answers

Disable specific dates in JCalendar

I have a question, I'm doing an application in java, and for it I need a JDateChooser to disable certain dates, for example, that does not let me select the date 20/02/2018, but if the others, as could I do?     
asked by 22.09.2018 / 20:33
0
answers

How to place several dates with Date and Time Picker in a ListBox?

I would like to know how to insert 2 or more dates with the Date and Time control, selecting the "Select date" button and selecting the dates from the control. Or, if there is a better solution I am open to your answers. Thanks     
asked by 10.09.2018 / 17:21