CreateGUID()
Last updated July 17, 2001
Version: 1 | Requires: CF5 | Library: StrLib
Description:
Modifies the CF CreateUUID() function to return a UUID in the form that Microsoft uses.
Return Values:
Returns a string.
Example:
<CFOUTPUT>
CreateGUID returns #CreateGUID()#<BR>
</CFOUTPUT>
Parameters:
No arguments.
Full UDF Source:
/**
* Returns a UUID in the Microsoft form.
*
* @return Returns a string.
* @author Nathan Dintenfass (nathan@changemedia.com)
* @version 1, July 17, 2001
*/
function CreateGUID() {
return insert("-", CreateUUID(), 23);
}
Search CFLib.org
Latest Additions
Raymond Camden added
QueryDeleteRows
November 04, 2017
Leigh added
nullPad
May 11, 2016
Raymond Camden added
stripHTML
May 10, 2016
Kevin Cotton added
date2ExcelDate
May 05, 2016
Raymond Camden added
CapFirst
April 25, 2016