Welcome to A1vbcode Lee.  bardoel (11/28/2008) Hi,
I have added the MSScript control to an APP in VB6 and i am having issues with the date format. My regional settings are set to UK but when i use now() function it is displayed as 11/28/2008. Has anyone got any ideas.
Well I never use Now because Now shows Date and Time. If I only want the date I use Date function. Now depending how your regional settings are set Date will give the current English date and Date$ will show the American date. If its displaying 11/28/2008 then its showing the American date use the Date function. I've never heard of MSScript where did you get it and what extra functions does it have?
Keith
I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
|