Questions tagged as 'date'

2
answers

Weka not recognizing attribute in format "date"

I have a set of treatment and tests that I created with a program in Java. In the header, it looks like this: *@attribute data date "yyyy-MM-dd"* And among other attributes. An example of a row of data is: *@data "2014-01-02",11.27...
asked by 17.06.2015 / 22:09
1
answer

Adding values from the database column

I'm doing a reporting system and the bank will have, for example: > - visualizacoes | 300 > - clicks | 20 > - data | 2015-06-03 > - visualizacoes | 230 > - clicks | 3 > - data | 2015-06-03 > - visualizacoes | 340 > -...
asked by 04.06.2015 / 17:10
1
answer

Place date on file generated by mysqldump

Hello, I want to put date in the file generated by mysqldump, I have a shell script that generates the dump, but I need to put the date that was generated in the file name Ex: // I have this command mysqldump -uroot -p12345 base_diversos &g...
asked by 07.04.2015 / 15:55
2
answers

Format date in ViewBag

I have a ViewBag returning two dates in a DropDown, but they are returning with the same formatting that was saved in the database (MM / dd / yyy HH: mm: ss). I need them to return in the pattern (dd / MM / yyyy). My ViewBag looks like this:...
asked by 30.01.2015 / 17:26
1
answer

Working with date: print all dates in a given range

I'm struggling with simple implementation. I need to receive the amount of days, taking Saturdays and Sundays, from a certain range of dates. I tried to use Calendar because I can set the day (date), month and year and use calendar.get(Calend...
asked by 06.08.2014 / 02:47
1
answer

VFP - SQLEXEC is returning DATE field as CHAR

I'm supporting a "legacy" application written in VFP, which uses DBF tables and is now migrating to SQL Server. I created a table of tests in SQL, which contains fields of some basic types, to be able to work with the migration, performing te...
asked by 25.08.2014 / 20:24
0
answers

Problems with Where

I'm using MariaDB and I have a problem in the WHERE clause of the bank. The query is inside Excel which brings me periods from the bank through the month filter. But I was asked to change for a period of time, but it is bringing me an empty...
asked by 14.12.2018 / 16:01
1
answer

Date range by week number

With this simple function, I can get the week number. Now with the number of the week, how can I get the date range, started on Sunday? import ( "fmt" "time" ) func main() { Week(time.Now().UTC()) } func Week(now time.Time) strin...
asked by 12.09.2018 / 13:56
1
answer

Problem presenting date in QTablewidget in python with PyQt5

I have a program that shows information about products and I wanted to present the date, but when the date appears, this is what it shows: PyQt5.QtCore.QDate(2018, 7, 7) . For those who need this code here: from PyQt5 import QtCore, Q...
asked by 02.07.2018 / 13:45
0
answers

DateTimePicker post and book the next business days

Good morning! I'm having a big problem, I use the Bootstrap DateTimePicker to include a calendar just above a stopwatch on an html page, but now, on this calendar, the next 5 business days after the current day were requested to be demarcated...
asked by 03.07.2018 / 14:17