Questions tagged as 'data'

2
answers

Extract date from a String C #

I need to extract two dates from a string which comes in the following format: string teste = "Aprovados por autorizantes da aplicação -> 02/03/2018 à > 02/03/2019"; Being start date and end date. I can still do this, however this str...
asked by 02.03.2018 / 17:29
2
answers

PostgreSQL query with no data return

See the following SQL code: SELECT * FROM venda ve WHERE ve.datavenda <= DATE '28/08/2016' The bank has the following data: The above SQL query is not returning any results, why? can you help me? Thank you in advance!     
asked by 07.09.2016 / 02:07
3
answers

Javascript / Jquery - Calculation of days between two dates "DD / MM / YYYY" [duplicate]

Friends, good afternoon ... next, the code below, takes two dates in a calendar, in the format of DD/MM/YYYY $('.two-calendars').on('pickmeup-change', function (evt) { var range = pickmeup(this).get_date('d-m-Y'); if (range...
asked by 15.08.2018 / 19:58
2
answers

Print day of the week in full adding one day

I'm trying to print the day of the week in full (Monday, Tuesday ...) of a date returned from the database. However, it is always printing with one day less, for example, instead of Monday printing, it is printing Sunday, I wanted to know what I...
asked by 20.02.2017 / 12:56
2
answers

How to return strings that are in ascending date format in SQLite?

I've taken a long and recorded in the database with this format SimpleDateFormat("dd/MM/yyyy") which is a string and now I need to organize the dates. I tried to use this command but it comes in descending order ORDER BY date (data_c...
asked by 05.10.2015 / 17:14
1
answer

Last Date and Time when you Login

I put this line in the php code: $lastlogdate=time(); To get the date and time when logging in, more when I go to see it looks like this: 1397562733 I wanted it to look like this: 17/04/14     
asked by 17.04.2014 / 22:46
2
answers

Display default date field BR aaaammdd for dd / mm / yyyy with javascript

Hello I have a field that automatically gets a date from another system, but it sends me in American standard, I would like to display on the screen with the default dd / mm / yyyy; <div class="form-group col-md-2"> <...
asked by 11.05.2018 / 15:10
1
answer

Default due date - PHP

I researched this question here on the portal and, although it contains similar questions, I did not find anything in the sense I need. I also did not find anything that would help my problem exactly. Based on the date of the first installmen...
asked by 19.09.2016 / 02:04
1
answer

Inserting holidays into jquery datepicker?

I have a method that changes the datepicker of jquery and inserts some special days (in the case of holidays of the state of RJ), when selecting a holiday, an alert with the day is released, however, it just happens, I wanted to know how block t...
asked by 26.07.2016 / 18:19
2
answers

MySQL Due Date

I have a register where I store the product registration date. However I need to exclude these products after 5 days registered in the database. I tried to use PHP with the following code: $dataExcluir = mktime(null,null,null,date('m'),...
asked by 03.06.2015 / 20:43