gcue Posted May 5, 2008 Share Posted May 5, 2008 (edited) the script opens up with the current date in its month, day, year fields $tCur = _Date_Time_GetSystemTime() $fech = _Date_Time_SystemTimeToDateTimeStr($tCur) $fecha = StringSplit($fech," ") $tdate = StringSplit($fecha[1],"/") $mm_date = $tdate[1] $dd_date = $tdate[2] $yyyy_date = $tdate[3] GUICtrlCreateLabel("Date:", 85, 12) $month = GUICtrlCreateInput ($mm_date, 120, 10, 30, 20) GUICtrlCreateLabel("/", 155, 12) $day = GUICtrlCreateInput ($dd_date, 165, 10, 30, 20) GUICtrlCreateLabel("/", 200, 12) $year = GUICtrlCreateInput ($yyyy_date, 210, 10, 40, 20) but i want the user to be able to change that date from the default current date to whatever he/she wants so this should bring back the date entered by the user right? $date_request = $month & "/" & $day & "/" & $year i get something completely different even different than the current date - i get "5/7/9" Edited May 5, 2008 by gcue Link to comment Share on other sites More sharing options...
weaponx Posted May 5, 2008 Share Posted May 5, 2008 (edited) $date_request = GUICtrlRead($month) & "/" & GUICtrlRead($day) & "/" & GUICtrlRead($year) Edited May 5, 2008 by weaponx Link to comment Share on other sites More sharing options...
spudw2k Posted May 5, 2008 Share Posted May 5, 2008 Check out the Date macros too. You can do what you want without the Date.au3 stuff. @MON & "/" & @MDAY & "/" & @YEARoÝ÷ Ø l¡KB¶¹Qy§m¢u«Z~º&iÊ'¶º%jëh×6$day = GUICtrlCreateInput ($dd_date, 165, 10, 30, 20) $strDay = GUICtrlRead($day) Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
gcue Posted May 5, 2008 Author Share Posted May 5, 2008 nothing gets passed u eh weapon? lol thx man Link to comment Share on other sites More sharing options...
gcue Posted May 5, 2008 Author Share Posted May 5, 2008 cool thx man Check out the Date macros too. You can do what you want without the Date.au3 stuff. @MON & "/" & @MDAY & "/" & @YEARoÝ÷ Ø l¡KB¶¹Qy§m¢u«Z~º&iÊ'¶º%jëh×6$day = GUICtrlCreateInput ($dd_date, 165, 10, 30, 20) $strDay = GUICtrlRead($day) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now