Questions tagged as 'datetime'

2
answers

tarruda datetimepicker in bootstrap 3

Has anyone managed to adapt the tarruda code to bootstrap 3? link     
asked by 21.10.2015 / 16:16
0
answers

Converting Data To Milliseconds

I would like some help to convert this function to the Cakephp standard. It takes the date from datetimepiker and it turns into milliseconds, but I searched a lot and did not find anything like that for CakePHP . public function add()...
asked by 11.08.2015 / 21:50
1
answer

How to convert DateTime type to nvarchar?

I have a table with a column of type nvarchar , and I pass the following parameter to the stored procedure : cmd.Parameters.Add("@PointDate", SqlDbType.NVarChar).Value = DateTime.Now; As expected, I'm getting the following error: A...
asked by 21.05.2015 / 16:11
0
answers

Why does not my PlayerPrefs (Unity) work on Android?

This is my first question and first post here! Well, I'm making a game on Unity going to Android and I've created a javascript to save and calculate some values. It works like this: My game has some sliders that I use as my character'...
asked by 10.04.2015 / 06:48
1
answer

@DateTimeFormat with daylight saving time day with error

I'm having a problem converting date from 10/15/2017 (start of daylight savings time) My mapping looks like this: @Column(nullable = false) @NotNull @DateTimeFormat(pattern = "dd/MM/yyyy") private Date dataVisita; When processing the req...
asked by 17.10.2017 / 15:31
3
answers

How to write a date in type of ISO 8601

I'm doing a communication program with apis online and I'm using a header of type DateTime and I needed that date to be in type ISO 8601 how can I do that? I'm using this to create the header: var tempo = DateTime.UtcNow.ToStr...
asked by 08.09.2017 / 17:12
1
answer

Calculate SQL mean with hour field

Good morning, I am having trouble resolving the select below. I have the select below that returns me the amount of hours of a given event and apparently returns in varchar. What I'm having difficulty is to take this amount of hours and divide b...
asked by 05.07.2018 / 16:41
1
answer

Get month value from list

I need the person to get the information and month that he wants, so I need to get this information from the list and then show the card, date, time of entry and exit, amount paid and total of the month. I was trying to Split() but I coul...
asked by 02.04.2018 / 18:25
2
answers

Separate time and search between dates dd / mm / yyyy

I have a contracts table called contract with two columns data_ini and data_fim . data_ini and data_fim looks like this: 04/20/2014 10:46 AM I need to search between dates, without the time. If I did not have t...
asked by 20.04.2014 / 15:48
1
answer

How to take one field time and add 3 minutes in another?

I would like to know how to get the time from the txt_hora field and go to txt_hora2 by adding +3 minutes. In case in field one would be 9:50 and switch to the other 9:53. Here I enter the Time Andafterclicking"GO" it falls...
asked by 02.10.2017 / 15:00