Questions tagged as 'date'

1
answer

Change date to commercial date (MySQL)

I need to change the Date of my database, considering the Business Date used in the company I work for. Here, a business month is between 26/M-1/AAAA and 25/M/AAAA . Where M-1: last month. For example, today the trade date is...
asked by 04.09.2017 / 21:31
2
answers

Catch all the hours that are between the start time and end time with PHP

I'm developing a module and I need to get all the time between 2 hours, start and end . Example: <?php $hora_inicial = '08:00'; $hora_final = '15:00'; ?> Then you would have to list    08:00 09:00 10:00 11:00 12:00 13:00 14:...
asked by 28.07.2016 / 03:34
2
answers

Convert a date and send to the bank

The code is all working, the problem is the date, I want to get the date of a jformatedtextfiel ## / ## / #### in the txt_data case and send it to the bank, I'm in the basics of java, I'm hooked on this code there are days and I researched a lot...
asked by 05.08.2015 / 17:37
1
answer

Sort Birthdays per Day

Well, I needed some help to display the Birthdays of the Month sorted by the day, in the bank it pulls the information from the Senior so the date comes ex: 1970-10-30, in my controller it looks like this: public function index() { $condi...
asked by 01.10.2015 / 16:25
1
answer

VBA returns wrong date string

I made a code to return a string from the first day of the month acts: Dia = "1/" & CStr(Month(Now)) & "/" & CStr(Year(Now)) Then I put it in a cell Cells(rowx,colx).value = Dia The pasted value change position the day with...
asked by 02.02.2016 / 21:15
2
answers

SELECT HTML field displaying Previous, current, and next month only

I need to make the SELECT field that looks like this today (code below) only displayed the previous, current, and next months. For example: As we are in the month of MAY, then it will display in this select (html) only the months of APRIL MAY an...
asked by 22.05.2015 / 13:56
2
answers

Validating invoice closing for purchase type and selling JavaScript and submitting for an api

I am a beginner and I locked in the invoice closing validation. I built a list in this format: [ date: '2017-5-9', value: '59.99', type: 'credit', typePag: 1 }, { date: '2017-12-17',value: 'R$ 151.08',type: 'debit', typePag: 2 } ]; W...
asked by 31.03.2018 / 05:12
0
answers

Date function returning day of month and incorrect time [duplicate]

I am trying to capture the date and time to check the time the user has gone without doing any action on the system, however I am having problems with the PHP date function. The code is as follows: $agora = date("Y-n-j H:i:s"); However, i...
asked by 15.04.2017 / 00:26
1
answer

String Conversion to Date

I have html form with the following input: <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Início:</label> <div class="col-md-4"> <input id="inicioEvento" name="inicioEv...
asked by 22.04.2016 / 00:47
2
answers

Filter records by month and year in Laravel

I have a form with a field of type month , which sends a value in the format Y-m to my controller. How do I search the records for the selected month and year? I'm using l5-repository I did this, but it does not work: $dat...
asked by 12.09.2016 / 22:35