Questions tagged as 'data'

2
answers

join two tables with date condition [closed]

I need to join two tables, the first one presenting all the records contained in it, with the condition that what is in the second table has a lower price with data_ini and dt_fim using current_date to define if it is inside...
asked by 03.11.2017 / 17:03
1
answer

Clustering in R

I need to cluster this database and then make the prediction .... I would like to know how I could do the substitution correctly in this case? Which type of clustering would fit best? I am a beginner in the data area and I am trying to sol...
asked by 19.10.2017 / 14:25
0
answers

Function strftime ()% A is returning weekday weekday

I'm running the function srtftime() with the parameter %A , however the dates are returning without the "Monday", only Monday, Tuesday, Wednesday, etc. Has anyone ever had this problem? setlocale( LC_ALL, 'pt_BR.utf-8', 'pt_BR'...
asked by 06.07.2017 / 15:29
0
answers

Recurrence record from calendar

I'm trying to make a recurrence record of dates for an event, I have this calendar: link I wanted to be able to click on each date, preferably from the one who is creating the event, since it would select multiple dates, to make a recurrenc...
asked by 19.07.2017 / 03:43
1
answer

How to calculate the year from the number of days?

Without using any library, and ignoring small scientific facts about the rotation of the earth. The function receives the number of days and must determine how many years have passed judging the following: Multiple years of 4 have 366 days...
asked by 04.05.2017 / 15:42
0
answers

Recognize date text in Brazilian format

Does anyone know of any way to recognize Brazilian date text like today, tomorrow, 04/30 ... in PHP using the strtotime or CakePHP using CakeTime . I'm trying to get the same result using strtotime('amanhã') of when...
asked by 04.04.2017 / 20:02
0
answers

MS SQL Query for JSP

I'm creating a website based on the JSP language but I do not know how to return a query that I performed on MSSQL Server , it looks like this: DECLARE @Nomes VARCHAR(8000) SELECT @Nomes = COALESCE(@Nomes + ', ', '') + nome FROM usuarios W...
asked by 08.03.2017 / 14:48
1
answer

Date arriving incorrect

I have the following problem here: I have a request that I make through ajax, and I send a date for it, java receives and saves it in the database, but the date that arrives in java is different from the one I sent. Follow the codes: Home Ajax r...
asked by 21.12.2016 / 22:10
0
answers

Select days within date for work shift assembly [closed]

I need a function that inserts selected dates into Datapicker var date = new Date(); $('#pre-select-dates').multiDatesPicker({ addDates: [date.setDate(14), date.setDate(19)] });     
asked by 05.02.2016 / 12:36
0
answers

How to choose a date and get the week and enable select with specific values

Can you help me, because I'm "breaking head" days: Clicking on an input text opens a calendar and then chooses a date; I need another input text to calculate the day of the week (Tuesday or Thursday only) based on the chosen date And thr...
asked by 26.10.2015 / 16:18