CODE ARCHIVE

Years of coding.

Technical articles, programming tutorials, code snippets and source files shared over the years.

KNOWLEDGE & EXPERIENCE

Knowledge worth sharing.

A collection of programming solutions, experiments and technical knowledge shared throughout my journey as a developer.

34Articles
23Categories
283Tags

ARTICLES

Published articles

Clear filter

Filtered by string-conversion · 7

  1. How to remove accent marks and german umlauts from URLs and Strings in .NET

    I wrote two functions in .NET to remove easly any accent and umlaut marks from a string and to get the equivalent non-accented string, this is very useful to normalize URLs; for example, with the StripAccentMarks() method, from "…

    Read original article
  2. PHP Date or Datetime to MySQL Datetime and viceversa

    Two useful PHP functions to convert normal date/datetime ("25.12.2010 12:10:00" or "25.12.2010") to MySQL datetime (like "2010-12-25 12:10:00" or "2010-12-25 00:00:00"); You can get back a date/datetime from MySQL datetime too: f…

    Read original article
  3. How to use Associative Arrays in ASP

    First of all, You need to download the "Asp Associative Array class" then include the file "AssociativeArrayClass.asp" in your asp page. Right now, You can start declaring associative arrays in ASP with the following syntax: Dim …

    Read original article
  4. How to export an ASP Associative Array to XML

    "Asp Associative Array Class" provides a method to easly export all items to a well formatted XML string. For example, You can create a new *.ASP file : <!--#include file="AssociativeArrayClass.asp" --> <% Dim Person, God Set Per…

    Read original article
  5. Convert a DateTime string to a Unix timestamp in VbScript / Classic ASP

    To convert a datetime string value like "YYYY-MM-DD HH:MM:SS" to a Unix timestamp (the seconds from 01/01/1970 to the input datetime) You can use a conversion function as the following: Function ConvertToUnixTimeStamp(input_datet…

    Read original article