Questions tagged as 'date'

3
answers

Get the remaining time between two Date dates on Android

I make an Application where I need to obtain the remaining time for the day of an event, using the class CountDownTimer I get a counter for days and dates but I can not think of how to get the remaining time. For this I have two dates...
asked by 02.06.2016 / 05:43
1
answer

Convert Date to UTC in SQL Server 2014

Hello I have a record of calls made from different countries, I have the date and the country, the dates are adjusted to the time zone of each country, but I need to convert it to UTC, since I need to calculate the number of calls made in a mont...
asked by 13.12.2018 / 17:58
1
answer

filter datatable by date range

I have this datatable: $(document).ready(function() { $("#Date_search").val(""); }); var table = $('#tabla').DataTable( { deferRender: true, "autoWidth": false, "search": { "regex": true, "caseInsensiti...
asked by 03.08.2018 / 10:53
1
answer

How to perform date conversion YYYY-mm-dd in bash

How can I get the format of a specific date? I have the following date: 18APR01 but that format I do not want, The code that I have is the following: date --date=18APR01 +%Y-%m-%d Exit: 2001-04-18 What I really want is for the out...
asked by 19.10.2018 / 23:00
2
answers

Remove duplicates based on their date

I have a table called noarribados, it has the following structure, the fact is that I have several repeated records (varies the date and the status_bboo) I am interested in having only one (with the most recent_bboo status) I know that this is a...
asked by 19.04.2018 / 05:26
1
answer

How to calculate between two dates?

I have to do an exercise to calculate how much has happened since January 1 to the date entered. They force me to use switch case and I can not use the function mktime() , and I do not finish working the code that subtracts the dates. The...
asked by 25.10.2016 / 00:43
1
answer

Parse DATE with data from a JSON

How about today I had a problem with a parseo Date I'm bringing data from a service so far all good, well I have a field in which brings me a Date with the following format 2017-01-05 11:11:00 Now this value takes me e...
asked by 30.01.2017 / 20:26
1
answer

java.lang.IllegalStateException: Attempt to mutate in notification (JDateChooser, JAVA)

Good morning! I am creating a replica of a program written in VB.NET in JAVA as a practice. I'm having an annoying problem and I could not exactly identify why it's caused ... you see, I'm using some libraries downloaded from the following so...
asked by 24.10.2016 / 20:37
1
answer

String a Date formatted correctly

I have a question, as far as dates are concerned in Java. I receive several dates in String format but each of them comes in a different format, so they do not come in a certain format. Dates with formats such as: 21/05 / 2018Z09: 14: 32....
asked by 21.05.2018 / 11:06
1
answer

Inconsistency with Calendar.dateComponents in swift

I have the variable fecha that when doing print shows per console: 2016-11-20 23:00:00 +0000 The problem is that when you do this: let auxCalendar = calendar.dateComponents([.weekday, .day, .weekdayOrdinal, .month], fro...
asked by 21.11.2016 / 11:21