Questions tagged as 'data'

2
answers

Create a calendar dimension with the month prior to Sys.date

Hello, the script below creates a CSV with a Calendar dimension from year 2015 to the current month. I happen to want the function to return the month before execution. Ex: If Sys.Data records 14/11/2017, it returns the date 10-14-2017. Or, if p...
asked by 14.11.2017 / 19:54
1
answer

Problem with android conversion

I have a date that is being returned from a WebService like this: Sep 22, 2014 12:00:00 AM Would you like to convert it to the following format? 22/09/2014 I tried some methods using Date of Android and I did not succeed. NO...
asked by 02.10.2014 / 15:13
2
answers

How to globally set the default date output in Laravel 5?

I remember well when I used Laravel 4 that it was possible to globally convert the formats of created_at and updated_at , to display in JSON responses or even to the {{ $model->created_at }} direct call. I did the follo...
asked by 14.03.2017 / 17:09
3
answers

Compare day and month of a date?

In MySQL I have saved the date of birth of a person, I need to set up a query to return the birthdays of the week, those that make today's birthday until today + 7 days. p> I'm trying like this: //Metodo da tela de listagem public fu...
asked by 28.10.2016 / 16:22
3
answers

Function to format dates

I have a question regarding JavaScript. I want to create a function where it receives a date and then I can show it as I want. for example YYYY / MM / DD or DD / MM / YYYY or otherwise. I have the function that has a date: function data...
asked by 03.03.2016 / 19:01
1
answer

Event in date and time expiration - PHP

My question is this: I created a function in PHP to check the current date and check the deadline for the end of a contest. But the end of this contest will have a specific time, and I do not know how to limit the date along with the time. Th...
asked by 09.06.2014 / 17:33
1
answer

How to calculate fixed date in php?

Well, guys, this is it. I need a button to be released only after 8 o'clock on Sunday. For example, the client sends the file to the site. It can send the file on Sunday or Monday at any time. But he will only be released to download the next Su...
asked by 10.08.2016 / 22:04
2
answers

Convert date to Unix timestamp

I have a table in a MySQL database that has a date column VARCHAR , type 20-09-2017 and I need to migrate this column to a bigint(8) column that uses the Unix date format timestamp . How to do this?     
asked by 20.09.2017 / 14:35
1
answer

Convert date and time to numeric value in JavaScript

I saw in kibana , the dates are treated as numeric values, for example, the date: 2016-05-03T10:00:00 is equal to the numeric value: 1462280400000 . I would like to understand how this works, and what function it can convert.     
asked by 03.05.2016 / 15:26
1
answer

What is the best way to do a descriptive analysis of birth dates in R?

I have in my data frame a column of birth dates that are in the English model, but I do not know how to analyze this descriptively nor what resources to use from R. Should I use a bar chart or a histogram? How would the R understand what date...
asked by 24.03.2016 / 18:12