Questions tagged as 'date'

1
answer

Obtain total hours from a range of dates that meet time intervals in php

How can it be done in PHP to get the number of hours from a range of dates that meet a time interval? For example, having the range of dates: SUBIDA = 2017-01-02 01:00 - BAJADA = 2017-01-02 22:00 And knowing that the intervals are: DE 00:...
asked by 16.03.2018 / 13:41
0
answers

DATE TIME FILTERING BY MINUTES

Im triyng to filter a gps location data.frame. I have gps locations obtained by 5 mins interval and other obtained by 1 second interval (and consequently the same minute is repeated along with dataset eg 2010-12-14 10:12:23; 10:12:24 and so on....
asked by 09.03.2018 / 19:45
0
answers

because this error is in java, Can not format given Object as a Date?

I have the following method public List<String> llenaDiasAnioMes() { Date date = null; List<String> lDias = new ArrayList<>(); for (Integer i = 1; i <= this.getLongitudMes(); i++) { String fechaAct...
asked by 06.03.2018 / 00:55
0
answers

Problem with the input type="date" when loading a date from a MySQL database

I am carrying out a project as a test using angularJS, SpringBoot, JPA technology in a MySQL database. Now I'm doing a CRUD of a movie entity. One of the attributes of the entity is a date (Date). I make the insertion in the MySQL DB without any...
asked by 27.02.2018 / 21:41
1
answer

How to display the dd / mm / yyyy format in java within a table?

I have the following code that brings me the current month and year // Obtienes el mes actual mes = LocalDate.now().getMonth().getValue(); //Se obtiene el año actual Year año = Year.now(); annio = año.getValue(); I have...
asked by 23.02.2018 / 23:13
0
answers

Android - Show Current Date in my Android Studio Activity and send it to SQLite

Greetings friends how are you, I would like to see if you can help me with this detail for my class I have my activity ready and I am creating my java class to show the date and time and also enter a data of an event Code below...
asked by 28.11.2017 / 08:14
1
answer

Get DATE column of the JTable to save it in SQL

I have: SQL Server 2017 I have jcalendar-1.4 added to my project I have import java.sql.Date; in my class. I have the column fechaNacimiento type DATE in my database. To obtain the information from the da...
asked by 11.11.2017 / 05:28
0
answers

change date format in php

I have a code where I entered a specific dates that I uploaded with a pdf form, the case is that the format has to be in plan    November 20,2017 but when inserting the dates and calling them to the pdf, they remain like this    2017-1...
asked by 20.11.2017 / 18:28
0
answers

How to add hours, seconds and milliseconds in android?

Good, I have the following problem, I have implemented a chronometer that calculates me up to milliseconds, the time is returned to me in a textview, so it is a string. Sometimes I need to add several times of the chronometer, how do I convert m...
asked by 16.11.2017 / 23:49
0
answers

String "ISO8601 date string" to PHP

Good morning. I'm working with FullCalendar. When I create an event, it returns a string "ISO8601 date string", I would like to translate it to PHP (date ("Y-m-d H: i: s")) I know that to convert to an ISO8601 cademna is date ("c", strotime (...
asked by 18.10.2017 / 13:30