Jump to content
Sign in to follow this  
DaLiMan

Date output

Recommended Posts

DaLiMan

Hi,

When you look at the output from the GuiCtrlCreateDate it is displayed as: 1. december 2004

What I like it to be is: 01-12-2004

Is there a setting to easily convert it, or some other simple way?

Please help!!!

Share this post


Link to post
Share on other sites
DaLiMan

Short date:

$DTS_SHORTDATEFORMAT = 0x00
GUICtrlCreateDate ("2004/12/01", 10, 10, 185, 20, $DTS_SHORTDATEFORMAT)

<{POST_SNAPBACK}>

Thanx Josbe, works like a charm.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.