Questions tagged as 'data'

1
answer

Insert current date into Database

I have a database with a News table with: Id (Primary key and auto_increment) News (varchar, where I write the news) Date (where the current date should be, just dd / mm / yyyy) But I never moved with dates and I do not know h...
asked by 12.07.2015 / 15:16
1
answer

Doubt on how to calculate time difference with special conditions

I'm trying to figure out the time difference between two dates using Moment.js , but I need to look at some special conditions:    Case 1 : If you enter a day in a month, it counts as "a full month." Per   example: from day 31/09/...
asked by 27.08.2015 / 22:39
1
answer

PHP - Take a value and modify the day of the date

Good morning guys, I'm having a question about date manipulation. I need to get a value (given by the user) and turn this value into day of the month. Example: $Valor_Usuario = 30; $Data = 12/10/2018; $Resultado = 30/10/2018; What I'm...
asked by 15.12.2018 / 17:31
1
answer

How to work with dates in dd / mm / yyyy format in vb.net?

I have a text box named txt_cadastro.Text . By using the following command: txt_cadastro.Text = DateString My textbox is populated in the following format: 04-23-2014 What do I do to be presented in the Brazilian format...
asked by 23.04.2014 / 21:17
2
answers

Sort by upload date after a readdir

I have this code that works fine, but I would like the last images to be uploaded to appear at the top of the page instead of appearing in a seemingly random order '. They are not in a database, they are only in a folder where they use the...
asked by 28.05.2014 / 18:41
1
answer

Save information about execution days

Good afternoon, everyone. I have an automation monitoring system that consumes a table that contains information about n registered automations, about 40 presently. I would however like to make a check on the days on which these automations will...
asked by 15.09.2018 / 17:51
1
answer

Validate date field with javascript

I have a field of type date , with name txtdata_nasc . I need a validation for it. I need you to have a button on his side that can validate it. If a person enters a birthday under the age of 18, I want a alert("Pessoas menores...
asked by 11.05.2018 / 05:18
2
answers

HTML / JS / PHP: Transform date entry into dd / mm / yyyy

Good morning. In my mysql database the dates are saved as dd / mm / yyyy, but the html "date" input only returns dates in the format yyyy-mm-dd, so I can not filter the dates of the database, which was my goal. I was using a very simple code, li...
asked by 06.04.2018 / 12:56
1
answer

Doubt beginner! Manipulating series

I'm doing my first analysis with Pandas in Python 3. I'm practicing with a game of thrones dataset that contains the killings in the books. One of the columns in the dataframe refers to the house and in this column there are repeated values o...
asked by 06.05.2018 / 14:58
1
answer

Correct alternative that implements a validator for a date field in Laravel

a. $this->validate($request, [ 'data_nascimento' => 'regex:ddmmyyyy', ]); b. $this->validate($request, [ 'data_nascimento' => 'required|date', ]); c. $this->validate($request, [ 'data_nascimento' => 'dig...
asked by 01.11.2017 / 00:38