Questions tagged as 'data'

0
answers

PHPExcel - Library automatically converts date notation when importing Excel worksheet, from dd / mm / yyyy changes to mm / dd / yyyy

I'm going through a problem that is already making me bald .. In a certain part of an application, I need to import user data through an Excel spreadsheet, so I'm using the PHPExcel library. However, when I edit the information in Ms Excel...
asked by 21.07.2015 / 15:46
1
answer

Date appearing in 1 post only

Hello everyone, I have a problem that when I make several postings the same day it would be the same date it only appears in the last post <articleid="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">...
asked by 10.12.2015 / 17:06
2
answers

How to make a date field containing only Month and Year Html

I need a date field containing only Month and Year Html, preferably on the screen something like a calendar containing only the months and years. obs: I'm using angularJs, javascript     
asked by 21.09.2017 / 23:10
2
answers

Format date with javascript [duplicate]

I'm developing an application in which I get the postings of a page on facebook and I need to format the creation date of the post I get via json as follows: 2018-01-12T11:25:41+0000 What function should I use to format this date into the...
asked by 12.01.2018 / 18:11
2
answers

How to check if the date is valid or invalid?

I'm learning Java on my own and I came across an exercise that I do not know where to start searching. I found something about datetime, try, catch. But I could not quite understand why the examples were much more complex than my problem. Cou...
asked by 01.03.2017 / 23:41
4
answers

How to get and format the current date and time?

I would like to know how to get the current date and time and then format them in JAVA. For example, I have these two values: 23062017 212010 I want to store each value in a variable, and then I want to format it like this: 23/06/2017...
asked by 23.06.2017 / 17:16
2
answers

Day of the week by variable php [closed]

I want to get the date in full. The code below is catching, however, the current date of the computer. I would like it to be as I put the date coming from a variable type 01/09/2017. <?php $meses = array (1 => "Janeiro", 2 => "Feve...
asked by 01.09.2017 / 00:26
2
answers

problems with date conversion with php

I have the following function that transforms timestamp into a readable date in Portuguese function dataEmPortugues ($timestamp, $hours = TRUE, $timeZone = "America/Sao_Paulo") { $timestamp=strtotime($timestamp); $dia_num = date("w", $ti...
asked by 30.11.2016 / 18:14
3
answers

Date format incompatible when importing data from Excel to MySQL (00-00-0000 VS 0000-00-00)

I'm trying to import data from an Excel spreadsheet to MySQL, the problem is that I have a column in Excel that the dates are in dd-mm-yyyy format and the format accepted by MySQL is yyyy-mm-dd . I want to know how to convert the da...
asked by 14.03.2014 / 21:00
2
answers

Doubts Date with PHP and JS

I do not know anything about JS and would like to know if I have edit a field whose value came from the database using javascript? Because I saved the date of birth and the phone number of a client on the bank, and at the time of registration I...
asked by 03.03.2016 / 06:30