About 50 results
Open links in new tab
  1. Dates in For Loop in vb.net - Stack Overflow

    In vb.net I have two data values as shown below: Dim startp as datetime Dim endp as datetime I have a function called ProcessData(soemdate) which processes dataporting. In VB.net is there a way I...

  2. How to compare just the date part and not the time of two Dates?

    Mar 6, 2009 · I want to compare just the date part (and Not the time) of two VB.NET Date objects. Is there a way to do that?

  3. Get date difference in VB.NET - Stack Overflow

    I want to get the difference between two dates chosen by two date time pickers in years, months & days in separate text boxes. I've tried: txtyrs.text = datediff (datetimepicker1,datetimepicke...

  4. Check if date is between or equal to two other dates

    Jun 6, 2014 · The two other dates are coming from two DatePickers formatted as dd/mm/yyyy. My code below works but if my searching date is i.e. equal to the from date I get a "Not between" message.

  5. Display date in dd/mm/yyyy format in vb.net - Stack Overflow

    I want to display date in 09/07/2013 format instead of 09-jul-13. Dim dt As Date = Date.Today MsgBox(dt)

  6. .net - How to find the number of days between two dates ...

    7 In my code below, how do I set up arrivaldate and depaturedate so I can get an amount due? I need to set them up as days stayed at the hotel so I can come up with a total. If this makes any sense? I am …

  7. Working with dates in Visual Basic / Excel - Stack Overflow

    May 31, 2012 · Very new to working with Visual Basic / Excel. I am trying to write a quick script that enters the current time in one column, and allows the user to enter how many days/hours/minutes …

  8. Date DataType Vs. DateTime Structure Vs. DateAndTime

    Mar 31, 2021 · DateAndTime does not compete with Date or DateTime, as you cannot use it to declare variables, i.e., DateAndTime is not a type. See also: Date Data Type (Visual Basic) Value Types and …

  9. vb.net - Calculating time between two dates? - Stack Overflow

    Dec 31, 2011 · Can someone please help me to make this work? I want to calculate the time between two dates in VB.NET like this: startdate: 2011/12/30 enddate: 2011/12/31 Calculate: ? hour ? minute …

  10. vba - Subtract 2 dates in visual basic Excel - Stack Overflow

    Nov 6, 2020 · As a result from a sql I've got a list of timestamps on each row. For example: 2020-11-06 04:15:58.066993 in Cell A1 2020-11-06 11:35:41.319696 in Cell A2 I want to subtract those 2 dates …