Convert Ip Snippets


Change Date from dd/mm/yyyy to yyyy-dd-mm

22 May, 2013   

Example code shows how to draw a Linear Gradient

Tries to make out of the given string a xhtml-compatible string, that means that the return-string could be wrapped within a xml.

22 October, 2013   

Code that will convert a simple Hex code value (from HTML colors) to an actual useable NSColor.

This function returns the duration of the given time period in days, hours, minutes and seconds. For example: echo convertSecToStr('654321'); would return "7 days, 13 hours, 45 minutes, 21 seconds"

C++ Example code to convert a real number to the string

04 May, 2011   

Take a JPG image, and convert it to ASCII code!

Does url_decoding while respecting utf8 characters.

Does url_decoding while respecting utf8 characters.

Delphi's RTL ExpandUNCFilename function retrieves the full path and filename of a specified (relative) file using Universal Naming Convention for network files (thus making my *very old* custom function obsolete).

Visual Basic code to convert number to Indian Rupees. This code is compatible with : VB 6,VB 5,VB 4/32,VB 4/16,VB 3 Author of the code : Anandh Kumar. B Declarations : Usages Msgbox CRupees(123456.78)

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

19 November, 2013   

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

10 August, 2011   

Url Encode is a technique employed in order to convert a string used in a URL into a valid URL forma and decode url

19 February, 2012   

Throwtest an application that demonstrates how to define, throw, and handle exceptions. This application doesn't do anything other than print out some text, but if you might want to study it and play around with it to learn more about how exceptions work in Java. See the usage instructions in the source code.

C code example for useful macros, functions and tricks

Converts the given floating-point value to a zero-terminated string. The supplied buffer should be large enough to accommodate the converted value. The value includes a decimal point and possiblesign and exponent information, plus a terminating null character, which is appended automatically. Returns: a pointer to zero-terminated...