Sign in to follow this  
Followers 0
Floppy

Difference between 2 dates

20 posts in this topic

Hello, I have 2 dates in the format YYYY/MM/DD HH:MM

How can I calculate the difference in the same format?

Share this post


Link to post
Share on other sites



_DateDiff()

I wrote "in the same format".

With _DateDiff I can only get the difference in hour, mins, secs, etc.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Plus more ...

D = Difference in days between the given dates

M = Difference in months between the given dates

Y = Difference in years between the given dates

w = Difference in Weeks between the given dates

h = Difference in hours between the given dates

n = Difference in minutes between the given dates

s = Difference in seconds between the given dates

But what do you exactly mean by same format? Could you provide an example of what you're intending your output to be? Because one can only presume that if you want to find the difference between two dates then _DateDiff would be the obvious choice. Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Use _DateDiff and then format the result to your needs.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Something like that?

#include <Date.au3>

MsgBox(0, "Test",  Sec_2_Time_Format(_DateDiff("s", "2011/01/01 00:00:00", _NowCalc())))

Func Sec_2_Time_Format($iSec) ;coded by UEZ
    Local $days = 0
    Local $sec = Mod($iSec, 60)
    Local $min = Mod(Int($iSec / 60), 60)
    Local $hr = Int($iSec / 60 ^ 2)
    If $hr > 23 Then
        $days = Floor($hr / 24)
        $hr -= $days * 24
    EndIf
    Return StringFormat("%01id %02i:%02i:%02i", $days, $hr, $min, $sec)
EndFunc   ;==>Sec_2_Time_Format

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯

Share this post


Link to post
Share on other sites

Example:

Date/Time = 2009/10/21 12:00

Current Date/Time = 2011/11/25 12:00

Difference = 2 years, 1 month, 4 days, 0 hours, 0 minutes

UEZ, you got the point but I don't understand why $days = 0. Plus, years and months are missing.

It's a pity that AutoIT doesn't have a function to do this with a simple string...

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

OK, your 'same format' was a little obscure, I would've worded it as '...output to ## Years ## Months ## Days ## Hours ## Minutes.'

Take a look at WinAPIEx.au3 by Yashied and look for the function _WinAPI_StrFromTimeInterval() for something 'inbuilt' into the Windows API.

Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

FSoft,

It's a pity that AutoIT doesn't have a function to do this with a simple string

Why should AutoIt have a builtin function when it is trivial to to this in a function you can write in a few seconds? :D

I take it this what you were looking for? :rip:

#include <date.au3>

$sEndDate = "2011/11/25 12:00"
$sStartDate = "2009/10/21 12:00"

$sDifference = _Date_Difference($sStartDate, $sEndDate)
MsgBox(0, "Difference", $sDifference)

Func _Date_Difference($sStartDate, $sEndDate)

    Local $sReturn = ""

    $iYears = _DateDiff("Y", $sStartDate, $sEndDate)
    $sReturn &= $iYears & "/"

    ; We now alter the start date to add the Years we have just found
    $sStartDate = _DateAdd("Y", $iYears, $sStartDate)
    ; And now we look for the Months
    $iMonths = _DateDiff("M", $sStartDate, $sEndDate)
    $sReturn &= $iMonths & "/"

    ; Now we add the Months
    $sStartDate = _DateAdd("M", $iMonths, $sStartDate)
    ; And look for the Days
    $iDays = _DateDiff("D", $sStartDate, $sEndDate)
    $sReturn &= $iDays & " "

    ; I am sure you get the idea......
    $sStartDate = _DateAdd("D", $iDays, $sStartDate)
    $iHours = _DateDiff("h", $sStartDate, $sEndDate)
    $sReturn &= $iHours & ":"

    $sStartDate = _DateAdd("h", $iHours, $sStartDate)
    $iMins = _DateDiff("n", $sStartDate, $sEndDate)
    $sReturn &= $iMins & ":"

    $sStartDate = _DateAdd("n", $iHours, $sStartDate)
    $iSecs = _DateDiff("s", $sStartDate, $sEndDate)
    $sReturn &= $iSecs

    Return $sReturn

EndFunc

All clear? :oops:

M23

Edit: Small typo.

Edited by Melba23

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Thought using EPOCH would be easier... well :D...

$iTicks_Now = _Epoch_encrypt(@YEAR & "/" & @MON & "/" & @MDAY & " " & @HOUR & ":" & @MIN & ":" & @SEC)
$iTicks_Than = _Epoch_encrypt(2009 & "/" & 10 & "/" & 21 & " " & 12 & ":" & 00 & ":" & 00)
ConsoleWrite($iTicks_Now - $iTicks_Than & @TAB & $iTicks_Now & @TAB & $iTicks_Than & @CRLF)
$iTicksDif_tmp = _EPOCH_decrypt($iTicks_Now - $iTicks_Than)
$aTicksDif_tmp = StringSplit($iTicksDif_tmp, "/")
$aTicksDif_tmp[1] = StringFormat("%.2d",$aTicksDif_tmp[1]-1970)
$aTicksDif_tmp[2] = StringFormat("%.2d",$aTicksDif_tmp[2]-1)
$aTicksDif_tmp[3] = StringFormat("%.2d",Int(StringLeft($aTicksDif_tmp[3],2))-1)& StringTrimLeft($aTicksDif_tmp[3],2)
$iTicks_Dif = $aTicksDif_tmp[1] & "/" & $aTicksDif_tmp[2] & "/" & $aTicksDif_tmp[3]
MsgBox(0,"",$iTicks_Dif)
Func _EPOCH_decrypt($iEpochTime)
 ; [url="http://www.autoitscript.com/forum/index.php?showtopic=83667&hl=epoch"]http://www.autoitscript.com/forum/index.php?showtopic=83667&hl=epoch[/url]
 ; trancexx
 Local $iDayToAdd = Int($iEpochTime / 86400)
 Local $iTimeVal = Mod($iEpochTime, 86400)
 If $iTimeVal < 0 Then
  $iDayToAdd -= 1
  $iTimeVal += 86400
 EndIf
 Local $i_wFactor = Int((573371.75 + $iDayToAdd) / 36524.25)
 Local $i_xFactor = Int($i_wFactor / 4)
 Local $i_bFactor = 2442113 + $iDayToAdd + $i_wFactor - $i_xFactor
 Local $i_cFactor = Int(($i_bFactor - 122.1) / 365.25)
 Local $i_dFactor = Int(365.25 * $i_cFactor)
 Local $i_eFactor = Int(($i_bFactor - $i_dFactor) / 30.6001)
 Local $aDatePart[3]
 $aDatePart[2] = $i_bFactor - $i_dFactor - Int(30.6001 * $i_eFactor)
 $aDatePart[1] = $i_eFactor - 1 - 12 * ($i_eFactor - 2 > 11)
 $aDatePart[0] = $i_cFactor - 4716 + ($aDatePart[1] < 3)
 Local $aTimePart[3]
 $aTimePart[0] = Int($iTimeVal / 3600)
 $iTimeVal = Mod($iTimeVal, 3600)
 $aTimePart[1] = Int($iTimeVal / 60)
 $aTimePart[2] = Mod($iTimeVal, 60)
 Return SetError(0, 0, StringFormat("%.2d/%.2d/%.2d %.2d:%.2d:%.2d", $aDatePart[0], $aDatePart[1], $aDatePart[2], $aTimePart[0], $aTimePart[1], $aTimePart[2]))
EndFunc   ;==>_EPOCH_decrypt
Func _Epoch_encrypt($date)
 Local $main_split = StringSplit($date, " ")
 If $main_split[0] - 2 Then
  Return SetError(1, 0, "") ; invalid time format
 EndIf
 Local $asDatePart = StringSplit($main_split[1], "/")
 Local $asTimePart = StringSplit($main_split[2], ":")
 If $asDatePart[0] - 3 Or $asTimePart[0] - 3 Then
  Return SetError(1, 0, "") ; invalid time format
 EndIf
 If $asDatePart[2] < 3 Then
  $asDatePart[2] += 12
  $asDatePart[1] -= 1
 EndIf
 Local $i_aFactor = Int($asDatePart[1] / 100)
 Local $i_bFactor = Int($i_aFactor / 4)
 Local $i_cFactor = 2 - $i_aFactor + $i_bFactor
 Local $i_eFactor = Int(1461 * ($asDatePart[1] + 4716) / 4)
 Local $i_fFactor = Int(153 * ($asDatePart[2] + 1) / 5)
 Local $aDaysDiff = $i_cFactor + $asDatePart[3] + $i_eFactor + $i_fFactor - 2442112
 Local $iTimeDiff = $asTimePart[1] * 3600 + $asTimePart[2] * 60 + $asTimePart[3]
 Return SetError(0, 0, $aDaysDiff * 86400 + $iTimeDiff)
EndFunc   ;==>_Epoch_encrypt

Share this post


Link to post
Share on other sites

I think this is about as good as I can get - or am prepared to go!: :D

#include <Date.au3>

$sEndDate = "2011/11/25 12:00"
$sStartDate = "2009/10/21 12:00"

$sDifference = _Date_Difference($sStartDate, $sEndDate)
MsgBox(0, "Difference", $sDifference)

Func _Date_Difference($sStartDate, $sEndDate)

    Local $aUnit[6] = ["Y", "M", "D", "h", "n", "s"]
    Local $aInter[6] = ["/", "/", " ", ":", ":", ""]
    Local $sReturn = "", $iUnit

    For $i = 0 To 5
        $iUnit = _DateDiff($aUnit[$i], $sStartDate, $sEndDate)
        $sReturn &= $iUnit & $aInter[$i]
        $sStartDate = _DateAdd($aUnit[$i], $iUnit, $sStartDate)
    Next

    Return $sReturn

EndFunc

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

Here my extended version:

#include <date.au3>

MsgBox(0, "Test",  Sec_2_Time_Format(_DateDiff("s", "2011/01/01 00:00", _NowCalc())))

Func Sec_2_Time_Format($iSec) ;coded by UEZ
    Local $years, $months, $days
    Local $sec = Mod($iSec, 60)
    Local $min = Mod(Int($iSec / 60), 60)
    Local $hr = Int($iSec / 60 ^ 2)
    If $hr > 23 Then
        $days = Floor($hr / 24)
        $hr -= $days * 24
    EndIf
    $years = Floor($days / 365)
    $days -= ($years * 365)
    $months = Floor($days / 30.42)
    $days -= Floor($months * 30.42)
    Return StringFormat("%02i years, %02i month, %02i days, %02i minutes, %02i hours, %02i seconds", $years, $months, $days, $hr, $min, $sec) ;y,m,d,h,m,s
EndFunc   ;==>Sec_2_Time_Format

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯

Share this post


Link to post
Share on other sites

Thank you to everyone :D

Share this post


Link to post
Share on other sites

Oops, still a question.

With StringFormat is possible to omit the zeroed items?

E.g. if it's 0years, 1months, 0days it's possible to display only 1months?

Share this post


Link to post
Share on other sites

FSoft,

Just check you have a return from _DateDiff like this: :oops:

#include <Date.au3>

$sEndDate = "2011/11/25 13:00"
$sStartDate = "2009/11/21 12:10"

$sDifference = _Date_Difference($sStartDate, $sEndDate)
MsgBox(0, "Difference", $sDifference)

Func _Date_Difference($sStartDate, $sEndDate)

    Local $aUnit[6] = ["Y", "M", "D", "h", "n", "s"]
    Local $aType[6] = ["years", "months", "days", "hours", "minutes", "seconds"]
    Local $sReturn = "", $iUnit

    For $i = 0 To 5
        $iUnit = _DateDiff($aUnit[$i], $sStartDate, $sEndDate)
        If $iUnit <> 0 Then
            $sReturn &= $iUnit & " " & $aType[$i] & " "
        EndIf
        $sStartDate = _DateAdd($aUnit[$i], $iUnit, $sStartDate)
    Next

    Return $sReturn

EndFunc

Is that it? :D

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Thanks Belba :D

Share this post


Link to post
Share on other sites

FSoft,

I think your finger slipped a couple of keys to the left.


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

FSoft,

Pay no attention to those two. I am glad I could help. :D

B23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

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  
Followers 0