Questions tagged as 'fecha'

1
answer

Select date and load the value automatically

What, what I try to imply is that I need the user to select a date and without clicking on the me button of the selected date, I have searched for events in JS but I am a bit lost, someone could advise me by please, thank you very much .. I s...
asked by 27.03.2017 / 21:28
1
answer

Is it possible to clone a Date in Javascript?

Is it possible to clone a Date() in Javascript ? That is, from a date variable, create another variable that has the same date. In the following code you can see that when comparing fecha_1 and fecha_2 it gives false...
asked by 20.03.2017 / 11:10
2
answers

Calculate the age of a person in Android Java

How can you obtain the age of a person having your birth date in Date format? DateFormat dateFormat = dateFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()); Date dob = dateFormat.parse("1989-10-10");     
asked by 29.09.2017 / 22:45
2
answers

Treat date in php "2017-09-02T00: 00: 00.000Z",

Very good, I receive this date form in a Json: 2017-09-02T00:00:00.000Z and I would like to be able to treat it to be dd/MM/YYYY . Does the function exist in php? Thanks     
asked by 21.10.2017 / 16:49
3
answers

Print the number of each week of a date in specific PHP

I am working with dates in php but I can not specify something like what I'm looking for, my problem is to be able to visualize the number of weeks in a specific month I hope I was clear and thank you for your help. EXAMPLE: WEEKS of date =...
asked by 16.03.2018 / 23:29
1
answer

How to calculate between two dates?

I have to do an exercise to calculate how much has happened since January 1 to the date entered. They force me to use switch case and I can not use the function mktime() , and I do not finish working the code that subtracts the dates. The...
asked by 25.10.2016 / 00:43
1
answer

Edit field from a date in SQL Developer (DB2)

I need to update the value of one field for another from a certain date ( 5/04/2017 ). It is a DB2 type database. I am using this sentence: UPDATE tabla SET campo='valor_nuevo' FROM tabla WHERE (campo='valor_viejo' AND fecha>=DATE(...
asked by 27.06.2017 / 09:39
1
answer

Inventory Management in C ++

The program is an inventory control that captures product information, such as quantity, wholesale and retail prices, date. When the user chooses the Buy option, the program asks for the new product information to be entered, when it reache...
asked by 05.05.2017 / 03:03
1
answer

Python date concatenation in a query for mysql

I have the following mysql query. SELECT purchase.DATE, products.ID, products.NAME, purchase_details.UNITS, purchase.REFERENCE, purchase_details.PRICE,purchase.ID_PROVIDER FROM purchase INNER JOIN (products INNER JOIN purchase_details ON produ...
asked by 02.11.2016 / 19:43
2
answers

Format MySQL date (d-m-Y) - (Y-m-d)

I am trying to format the date in MySQL but I do not get it, the format of the date is as follows: 08-05-2017 - 18:03 I want to transform it to 2018-11-09 - 20:30 Using SELECT DATE_FORMAT(STR_TO_DATE(fecha, '%d-%m-%Y - %H:%i'),...
asked by 10.11.2018 / 22:45