Questions tagged as 'datetime'

2
answers

Convert string to DateTime in LINQ

I have a model where all fields are string . I want to convert to DateTime and Double For this I created a new model public class CPUStats { public DateTime Data { get; set; } public Double? Disco { get; s...
asked by 16.03.2016 / 14:41
1
answer

Date time Picker bootstrap in modal

This is the date time picker is appearing behind the modal and I am not able to put forward has how to do this? Code I've tried: .form_datetime { position: relative; z-index: 9999; } and $('input').datepicker({...
asked by 28.01.2018 / 21:27
1
answer

Settings environment timezones django postgres linux

Good morning, everyone. I have a site (Django) on a linux hosting service with Postgre SQL bank that is in New Jersey (USA). Users are in Brazil, so I have a timezone difference. I'm pretty sure this is a silly thing, with an adjustment I...
asked by 16.01.2018 / 14:09
1
answer

Charts highcharts plot of dates which are the values valid for the month

I'm plotting a plot from which the date entry does not match the plot. Example when I enter the date information 10/12/2017 it plots (January 10, 2017) how to fix this? Loading is done through the database code used: <script type="...
asked by 30.12.2017 / 14:03
0
answers

I can not compare dates with DateTime () in PHP

I have a form where I send the date 1-4-2017 in each separate field (day, month and year). The code below receives the date normally, but when it arrives in the comparison part it does not occur, the result should be the display of an error mess...
asked by 03.01.2018 / 02:33
2
answers

Time calculation based on GMT and daylight saving time

I have a problem where I need to calculate the time in a particular place in the world. The calculation should happen and the only information I have in hand is GMT of the site. EX: -1, 2, -3, etc. I've created a class to calculate GMT-based...
asked by 10.12.2014 / 19:19
0
answers

How to format date in UTC format for yyyy-mm-dd [duplicate]

I'm working with the XML of an NF-e where the date fields are in UTC format (YYYY-MM-DDThh: mm: ssTZD) and need to insert them into the database in the format yyyy-mm-dd. p> I'm using SimpleDateFormat to try to do the conversion, but I get a...
asked by 20.11.2017 / 14:29
0
answers

PostgreSQL compare time between two hours, and if you exceed the hours of the day, limit until 23:59

I am making a query sql on ruby-on-rails on PostgreSQL where I check if user input is between hora_entrada and hora_entrada + (hora_entrada + limite_banco_horas) and same for hora_fim , in a certain...
asked by 09.11.2017 / 17:35
2
answers

CellClick event, does not return DateTime value

I am writing some data in DataGridView and Event CellClick should fill DateTimePicker with the value already registered, but I am doing something wrong. Buttons: save, edit, delete, and cellclick event private void btnG...
asked by 30.10.2017 / 18:37
1
answer

Problem handling dates in an ACCESS / VBA application with SQL Server database

I needed to migrate the bank of an application made in vba using the access. The database was native to access and I switched to SQL Server. In access, as everything is native everything worked perfectly, but in migration a problem that is gi...
asked by 20.10.2017 / 06:19