About 50 results
Open links in new tab
  1. Algorithm to add or subtract days from a date? - Stack Overflow

    Feb 26, 2010 · I'm trying to write a Date class in an attempt to learn C++. I'm trying to find an algorithm to add or subtract days to a date, where Day starts from 1 and Month starts from 1. It's proving to be ...

  2. How can I get the date and time values in a C program?

    system("date +%T"); It prints the current day and time to the standard output stream, but I want to get this output or assign them to the current_day and current_time variables, so that I can do some …

  3. C++ Programming Date Class - Stack Overflow

    Jan 29, 2017 · first time learning c++. Making a date class were we use integers to represent month, day, and year. We need to have a member function to increment the date to the next day, and free …

  4. Difference between two dates in C - Stack Overflow

    Dec 18, 2012 · I'm a beginner in C. Is there any datatype for dates? In C we have for working with time, is there one for dates too? How can I calculate difference between two dates?

  5. C Program to find day of week given date - Stack Overflow

    Is there a way to find out day of the week given date in just one line of C code? For example Given 19-05-2011(dd-mm-yyyy) gives me Thursday

  6. A C program to check if the entered date is valid or not

    Feb 19, 2013 · 0 I was asked to right a program which checks if the date entered by the user is legitimate or not in C. I tried writing it but I guess the logic isn't right.

  7. How do I get the current date in JavaScript? - Stack Overflow

    Oct 7, 2009 · Use new Date() to generate a new Date object containing the current date and time.

  8. Converting a character string into a date in R - Stack Overflow

    Sep 30, 2015 · The data I'm trying to convert is supposed to be a date, however it is formatted as mmddyyyy with no separation by dashes or slashes. In order to work with dates in R, I would like to …

  9. sql - Concurrent program parameter of date type gave error ORA …

    Jun 24, 2015 · I have 2 parameters in my report Query of datatype date, I have selected the fnd_standard_date as value set, here is my query Select ordered_date, order_number, customer_id …

  10. C program that reads in a date and prints out the next day date

    Aug 16, 2017 · The date of the next day is: 18/5/2010 My dilemma is that I have no idea on what operations to use or how to set the code to make sure that leap year is considered and for example if …