Response.Write(MoviePayedDate) '11/3/2008 9:32:15 AM
                Response.Write("<br> -" & Now)'11/3/2008 9:37:31 AM
                Response.Write("---------------")
                Response.Write("<br>" & DateDifference)' HOW do i get this?

Recommended Answers

All 3 Replies

DateDiff(ss, MoviePayedDate, getdate())

this will return the difference in seconds, which i think is what you need, then convert it to minutes, if you want minutes, use mi instead of ss

Use this

datediff(DateInterval.Day, Date 1 , Date 2)

His date was on the same day and 5min 16sec apart, thats why i didn't use days

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.