Questions tagged as 'data'

2
answers

Format date in javascript [duplicate]

The code has an array that receives the DB information. The date field receives the date in YYYY-MM-DD format, but I would like to display it in the following DD-MM-YYYY command. Could you help me with some function or a hint in how to hand...
asked by 06.12.2017 / 14:23
1
answer

Sorting and sequencing data from a file

I've developed a program that stores a list of ids, so Butforthedesiredpurposes,thedatashouldtakethesequentialform,sothatthefirstpairofidsissomethinglike:"889926212541448192" becomes 1 and "889919950248448000" becomes 2. That is, the file to...
asked by 23.11.2017 / 19:46
1
answer

JavaScript does not work

Why is not my JavaScript code working? My other codes always work, but this one does not have to pray that it works. I want to put a date clock at the top of the page and I do not want to leave those lines of code inside the index. <SCRIPT...
asked by 21.11.2017 / 01:29
1
answer

Date on a Highstock chart

I'm trying to create a chart with the framework Highcharts to create a chart, which framewor itself provides, highstock . I am trying to generate a line type graph, the values are correct, but the date is wrong. I looked in a file of the...
asked by 27.09.2017 / 18:24
2
answers

Date in Portuguese returning in English

I'm using this code to return the current date in Portuguese (locally): <? setlocale(LC_ALL, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese'); date_default_timezone_set('America/Sao_Paulo'); echo utf8_encode(strftime('%A, %d de %B de %Y...
asked by 22.10.2017 / 16:13
1
answer

How to make a date in ISO 8601 format but be in the same a DateTime [closed]

I wanted to know how I can transform a DateTime into an ISO 8601 format but keep it in a DateTime type     
asked by 28.08.2017 / 16:39
1
answer

Date parser in C

I was doing tests to do parsers of date and I made this example based on a program that formats through sscanf() with a constant string defined because I did not understand well where is the error: #include <cstring> #include...
asked by 25.07.2017 / 20:28
2
answers

Show date in MessageBox C #

I have a vector of dates with values already inserted, but I wanted to show the values one by one, so I created a "for" that did this DatasIndisible is my vector of dates, with values already allocated; string mens; for (int i = 0; i <= 5;...
asked by 14.06.2017 / 03:49
1
answer

Comparing dates [duplicate]

My problem is that I'm not sure how to compare two dates. I would like to compare a date that the user types, compared to the current date. If the date is shorter than the current date, the deadline is due. If the date is equal or greate...
asked by 11.05.2017 / 20:10
1
answer

How to work with Dates in C?

Talk to your people! I got a question here on the internet to make it come out nothing at all. It asks for the following: Do you want to make a program that reads the name of the book that will be borrowed, the type of (student or teacher) and t...
asked by 15.04.2017 / 14:24