CreateGUID()
Last updated July 17, 2001
Version: 1 | Requires: ColdFusion 5 | Library: StrLib
Description:
Modifies the CF CreateUUID() function to return a UUID in the form that Microsoft uses.
Return Values:
Returns a string.
Example:
CreateGUID returns #CreateGUID()#<BR>
</CFOUTPUT>
Parameters:
No arguments.
Full UDF Source:
<cfscript>
/**
* 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);
}
</cfscript>
Search CFLib.org
Latest Additions
Shawn Porter added
DeMoronize
3 hour(s) ago
Chris Carey added
readPropertiesFi...
1 day(s) ago
Randy Johnson added
lastDayofWeek
3 day(s) ago
Frank Marion added
sitemapPing
7 day(s) ago
Top Rated
QuickSort
Rated 5.0, 3 time(s)
indentXml
Rated 5.0, 3 time(s)
queryColumnsToSt...
Rated 5.0, 3 time(s)
generateSsccAsn
Rated 5.0, 3 time(s)