Questions tagged as 'data'

3
answers

Date Comparison in PHP

I am making this code to compare the current date with the date I entered in the form, I used this logic to do this, but apparently it is not working. What could be wrong? <?php $data = $_POST['data']; $nData = getdate(); $dataAno = date...
asked by 13.04.2018 / 20:08
1
answer

Format date coming from variable with php [closed]

I have the variable below and I want to format it to the Brazilian standard (01/20/2015) using PHP. $data = Sun Jan 10 00:00:00 CST 2016     
asked by 30.10.2015 / 21:53
1
answer

Catch show and change Time / Date

Good morning! I would like to take the time of the mobile to play on the screen for the user to be able to change and save the time the user chooses and the same thing for the date. example look similar to the alarm clock     
asked by 28.03.2014 / 15:24
1
answer

Php missing dates 10 days [closed]

I have a question and I would like to know if it is possible in this code instead of showing dates already expired show dates that are missing 10 days to expire. if(!empty($row[10]) AND ($row[11] < time() || $row[12] < time() || $row[...
asked by 06.08.2014 / 11:36
1
answer

Python handle API [closed]

I want to use the following API response: link Then I want to divide it into blocks like this: [1456617600,434.3867,434.3867,433,781,433,781.4.15450000] and put it on a list to work with the data. I was doing so but it is not working:...
asked by 29.06.2017 / 20:37
1
answer

Time system remaining [duplicate]

I have a date generator and in it I mark the day that a certain event will happen. As seen in the image: Thissystemreturnsavalueintime().Ineedacodethatsaystheremainingtime,forexample,isnow:9/3/2016-19:26andtheeventwasscheduledfor-9/3/2016-...
asked by 09.03.2016 / 23:32
3
answers

Date value is changing month by day

<input type="text" id="inicio" class="cad-input" name='dataInicial' value="<?php echo date('d/m/Y'); ?>" style="width: 190px;"></> , The variable is in the format date('d/m/Y') and is changing to date('m/d/Y')...
asked by 10.10.2017 / 17:58
1
answer

Detect date used with PHP

How do I detect the date of the user through php ? That is, I know how to detect the date, but make the comparison with the date of the server, so it does not get right due to the different time zones. I leave below my code: <?PHP...
asked by 12.02.2018 / 01:47
2
answers

Data type Date

I have a question and I do not know if it's possible in Html. Within a form I have several types of fields and one of them is the type DATE that receives (Day / month / Year) and now wanted to change it to receive only (month / year). Can I m...
asked by 02.04.2014 / 10:14