Most voted "date" questions
Date is the representation of a specific point in a calendar, usually represented by a day, month and year, the values of which may vary according to the culture and calendar used.
Learn more…887 questions
Sort by count of
-
-1
votes1
answer42
viewsBrazilian Time in Javascript
I’m having another date problem. My mysql is at the right time, but when recording the date in an input with javascript is saving in UTC and not in GMT-0300. What can be? <form…
-
-1
votes1
answer335
viewsTime range between ORACLE SQL dates
Good afternoon guys, I have a question in oracle SQL in which to solve I wanted to get the following information: Before, I have this query: SELECT…
-
-1
votes1
answer71
viewsDisplay Visual Python in Power BI
When using the matplotlib library in Power BI the following error message appears: "Python’s process ended unexpectedly, so the look cannot be displayed. Try running it again." How to solve this…
-
-1
votes2
answers325
viewsTransforming date object into datetime (year month day) python
I need to transform a date that is format obj in datetime to make a calculation. The column is in this format: 01JUN2020:00:00:01 01OUT2020:00:00:02 01MAI2020:00:00:04 I tried the datetime function,…
-
-1
votes1
answer44
viewsHow to create a new column 'ANO_NASCIMENTO' and insert data into it in sequence, considering each row of the column NAME
Hello!! I’m a beginner in Python and I would like to count on your help for the problems below. I have a df with 2 columns. NOME N.CELULAR João Pedro 98 – 9112 1632 Luís Antônio 98 – 8513 4545…
-
-1
votes1
answer42
viewsConverting total hours of a month into days and hours
Hello! I am working on a data_set in which the time measure is in Total Hours Races of the month. Going from hour 1 to hour 734. I want to convert this measure of time into hours of the month per…
-
-2
votes1
answer455
viewsRemaining time system
I have a date generator and in it I mark the day that a certain event will happen. As seen in the image: This system returns a value in time(). I need a code that says the remaining time, for…
-
-2
votes2
answers360
viewsHow to convert a date (string) to another format using Javascript?
I have the following string: 2016-06-08 - 10:08 I need to convert this string to the other format: 08-06-2016 10:08 How should I proceed? function dateFormat(date) { inputFormat = new…
-
-2
votes1
answer778
viewsHow to check how many days passed from a Javascript date
I need to check the amount of days that have passed since the day a task was created, for example, if I start a task today I get the following date back: 2017-08-30 11:38:52.168 I need to do a…
-
-2
votes3
answers226
viewsValue of the date 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 in the format date('d/m/Y') and is…
-
-2
votes3
answers123
viewsFormat value for date
I need to format a value for date... I search for the link of the following value: 20181107 No case would be 07/11/2018, today. I need to take this value and format in format 2018-11-07, I tried it…
-
-2
votes2
answers69
viewsHow to handle data passed by Answer in jQuery
Just after making a render of a screen as in the example below: ( return res.status(200).render("mschedule", { erro: {}, list: teste }) ) I would like to manipulate a return data (list) in jquery.…
-
-2
votes1
answer66
viewsdate does not show full date, only year
I have this situation that I need to take the current year and play in the variable janI and janF, on screen I send a echo and displays the date. However, it is only displaying 2019. The /01/01 is…
-
-2
votes1
answer66
viewsdate does not show full date, only year
I have this situation that I need to take the current year and play in the variable janI and janF, on screen I send a echo and displays the date. However, it is only displaying 2019. The /01/01 is…
-
-2
votes1
answer265
viewsget PHP data, with conditions
I would like to take the date the user entered as the basis for the information he will select. There will be 4 date options, but the conditions are: if the user selects a day that has already…
-
-2
votes2
answers1074
viewsGenerate random time within a range
I have a function that generates the current time, time +12hs and time +24hs. I need him to run a random schedule within that 12-hour and 24-hour window. I got the following: //DEFINE HORARIO DE…
-
-2
votes2
answers35
viewsHow to not show junk value when pulling a data from a null PHP database
I’m pulling a value VARCHAR from the bank , I convert it to appear in DATA format , as long as the value is white in my bank, it pulls me a number "31/12/1969" . How can I fix this ? How I’m turning…
-
-2
votes2
answers59
viewsConvert a date from C# (Datetime), which has been transformed JSON, to Javascript Date
When I perform a data search in C#, it returns the DateTime in format "/Date(123456789)/", but I can’t convert to a valid Javascript date. As a: var data = new Date("/Date(123456789)/"); Or: var…
-
-2
votes3
answers113
viewsCall date by javascript
I am putting the date on the site with this code that is working, but this script has to be inside the HTML element in which the date will appear. How can I change this script so that the date…
-
-2
votes1
answer65
viewsFormatting Javascript data
The date is filled in according to the information obtained from a JSON response Script $(document).ready(function () { $("#@(Model.Campo)_Nome").typeahead({ source: function (query, process) {…
-
-2
votes3
answers339
viewsHow to convert the number of hours into date format in r
I have a column in this format and I can’t convert it to date. At this time it is in hours. Example: 8.5 is actually 08:30:00 and so on... Any idea how to do it? (see image) start_date <-…
-
-2
votes2
answers81
viewsCompare dates - Text Mining
I made a code for texte Mining, but I’m having difficulty comparing if the date that was identified has already passed + 1 year. I would like a help or a vision that can help in my understanding.…
-
-2
votes1
answer168
viewsHow to take back a date formatted in MMM/yyyy format for yyyy-MM format with date-fns
I want to take the value of a date string formatted as MMM/yyyy for the format yyyy-MM. For example, for abr/2017, want to return 2017-04. I wrote the following code with the library date-fns, but…
-
-2
votes1
answer20
viewsI wish that when receiving an email after it passes 24hrs it shows the date and not the time ago as per the image
I’m using the : briannesbitt/Carbon I use this code to render what I wish <?= \Carbon\Carbon::create($mail->created_at)->locale('pt')->diffForHumans(); ?> atrás The same prints equal…
-
-2
votes1
answer41
viewssubtraction of error months in 31 days (strtotime)
I’m developing a graph using the library chart.js. It is working perfectly. It happens that today, the month of May with 31 days, the subtractions of the months happens in the wrong way. $mhoje =…
-
-2
votes1
answer48
viewsCalculating dates (Discord.js)
I’m trying to develop a kind of Mod record for my Discord Bot. Ps: I do not believe it is necessary knowledge of Discord.js to solve the question How it would work: The user with administrator…
-
-2
votes1
answer25
viewsReturn the date value selected in the datapicker in a variable
Good afternoon community, first question here. I have a datepicker fixed on a div in my code, not an input!! and I’m not able to take the selected value and store a variable because I need to later…
-
-3
votes2
answers483
viewsData type Date
I have a doubt and I do not know if it is 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 I wanted to change…
-
-3
votes1
answer356
viewsScroll between two dates
I have two dates in milliseconds. I need to recover every day of that period to make an insert in the database. I thought I’d do one for each day of that period, but I have no idea how to do it!…
-
-3
votes1
answer1185
viewsUse time. h library for dates
I wanted to use the library time.h to store a birth date type 26/10/2312 (in this format) in a given array, only I have never worked with this library. Can someone give me an explanation?…
-
-3
votes1
answer37
viewsDetect date used with PHP
How do I detect through php the date of the user? I mean, I know how to track the date, but comparing it to the server date, so it’s not right because of the different time zones. I leave down my…
-
-3
votes1
answer26
viewsSearch day, time and add class to a form
I asked a question a while ago here and they helped me a lot. I managed to make a code searching the day of the week (Saturday and Sunday) and adding a class to the form to disable it. Follow:…
-
-3
votes1
answer63
viewsHow to get only the day/month/year separately from an Input Date
I’m learning javascript and trying to make a program that calculates the exact day a person was born. For this I created a date form on html and he returns me for example: 2010-06-21... In order for…
-
-4
votes1
answer149
viewsCalculate the Timetable in C. Financial year
I started programming recently and I’m having trouble solving this exercise: Write a program that reads the departure time (hours and minutes) of a flight, the travel time and the difference in…
-
-5
votes1
answer43
viewsI have a script that I enter the number of months and returns the date of the deadline. But I need to decrease one day of the result
Dev’s good afternoon! I am trying to create a script that calculates the final date from an initial date and its term in months. Ex: Initial date: 01/08/2018 Deadline: 60 months End date: 31/07/2023…
-
-6
votes2
answers1061
viewsConvert dd-mm-yy date to yyyy-mm-dd in Java
I am receiving via form: 28-set-2018 and I need to save in the bank 2019-09-29 00:00:00
-
-9
votes1
answer407
viewsHow to change the mask of an input type date
How do I solve this problem ? I want to remove this "dd/mm/yyyy"…