Ardara Media

Specializing in providing audio/video production, social media development, and technology support for individuals and businesses.

  • Facebook
  • Twitter
  • Google+
  • Linkedin
  • Email

Primary menu

Skip to primary content
Skip to secondary content
  • Welcome to Ardara Media
  • News
  • Social Media
  • Tips & Tricks
  • WordPress
  • Commentary

Category Archives: iSeries Tips

Tips and trips for iSeries developers, focusing primarily on CL, RPG, and DB2/SQL.

Casting leading zeroes for a date

Posted on February 16, 2011 by Sean

I can’t take credit for this – I was walking down this road and needed to find a way to handle the leading zeros on the cast so I went online, but it’s a nice way to get a current date in a YYYYMMDD format. select substr(char(year(current date)),1,4)|| case when Continue Reading →

Posted in iSeries, iSeries Tips | Tagged DB2, iSeries, SQL

Recent Posts

  • Welcome to Falmore
  • Northern Ireland Time Warp
  • From Newark to Belfast
  • The Journey Begins
  • Pre-Flight Checklists

Tags

Category cautions DB2 Facebook Favicon FourSquare hosting iSeries just starting Legal MySpace Pinterest reviews Slugs Social Media SQL tips Tumblr Twitter Wiki Wordpress XML Yahoo
Copyright © 2025 Ardara Media All Rights Reserved.
Theme: Catch Evolution by Catch Themes
f