Questions tagged as 'data'

4
answers

How do the date () function format a date in Portuguese?

In my project I am using the date() function, however I would like it to be in Portuguese, my current format is: "Thursday 6th", I would like it to be in the same model but in Portuguese, this is my formatting : // $article['article_tim...
asked by 06.03.2014 / 19:17
2
answers

Get date with day of week, number of week, month and year

Is there any way to get the date if you only have the day of the week, the week, month, and year number with MySQL? Example: I want to know what day it is with these parameters: Year: 2014 Month: September (09) Week number of the y...
asked by 18.09.2014 / 19:55
1
answer

How to get the current date on Android? [closed]

I'm developing an application and I need to get the current date only, I used Date data = new Date(); only that it does not work. I tried localdatetime also more was not, does anyone have any suggestions?     
asked by 21.09.2017 / 04:32
3
answers

Error converting data php

I'm getting the following date from a form: 26/09/2016 I need to convert it to: 2016-09-01 I'm using the following command: $v_data= date('Y-m-d', strtotime($data)); only giving the following return: 1970-01-01 , what w...
asked by 26.09.2016 / 20:49
3
answers

Separate the zero of the dates

asked by 02.06.2017 / 21:56
2
answers

How to create a folder with the current date name

I'm trying to create a folder with the name equal to the current date but it just does not create. import java.util.*; import java.io.File; public class PastaData { Date data = new Date(); SimpleDateFormat formatar = new SimpleDateFormat("d...
asked by 03.11.2016 / 22:56
2
answers

Error sending some photos

I made a script that uploads a photo to the server and saves the name in MySQL, but some photos it does not send, some 3 mega pixels type JPEG is not sent and gives error. index.php: <form action="upload.php" method="POST" enctype="multi...
asked by 02.07.2018 / 20:34
2
answers

SQL for last month and last two months

Hello. I'd like some help here. I need to get the records: MySQL Database 1) last month 2) last 2) 3) Current year SELECT id, data, lote, modelo, qtd FROM controle_diario WHERE modelo like ? The table is very simple: id is auto-increment,...
asked by 30.05.2017 / 13:56
2
answers

JavaScript Validates Date of Birth and Block Same Year

I need a Javascript block that I put date with the same current year. For Field Date of birth. Can anyone help me? For the field: <div class="col-sm-4"> <label for="dataNasc" class="control-l...
asked by 09.02.2017 / 14:27
1
answer

JavaScript function to get the next date in a calendar

I have several calendars registered in my database, each calendar has its particularity. I have a screen that includes a file and through dropdown I choose the calendar that the periodicity of this file will respect. Eg Daily, Weekl...
asked by 28.04.2015 / 19:28