Avatar of trunks222
trunks222

asked on 

VB Date problem

Hi, I want to sort my results by date.
All results that would be NOW - 1 hour would be another color in my flexgrid.
I just cant do the NOW - 1 hour properly...

lblHighest.Caption = biggest & " " & (Now() - Now(Hour(1)))

I tried something like that but it didnt work at all!
I think it went -10 days instead. go figure.

Thanx for the help!
Visual Basic Classic

Avatar of undefined
Last Comment
Colosseo
ASKER CERTIFIED SOLUTION
Avatar of Colosseo
Colosseo
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of trunks222
trunks222

ASKER

wow that was super fast :)
thanx for the help!
Avatar of Colosseo
Colosseo
Flag of United Kingdom of Great Britain and Northern Ireland image

Your welcome, thanks for the grade.

Cheers

Scott
Visual Basic Classic
Visual Basic Classic

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.

165K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo