Solved

Convert Current System Date  to CCYYMMDD

Posted on 2008-06-09
8
2,529 Views
Last Modified: 2012-06-27
How do i take the System Date (@DATE) and convert it to CCYYMMDD.
0
Comment
Question by:hwdev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 22

Expert Comment

by:JesterToo
ID: 21748116
Which database product are you using and what programming language?
0
 

Author Comment

by:hwdev
ID: 21748559
I am using DatasStage to try and do my conversion.
0
 
LVL 22

Expert Comment

by:JesterToo
ID: 21751101
Sorry, I'm not familiar with that product.

You might try looking up the various date transformation functions available for the RDBMS backend you are working with and see if you can apply them in your code.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 51

Expert Comment

by:Mark Wills
ID: 21760476
DataStage is a software product... Ascential Software DataStage, and/or Webshpere's Datastage (fromerly ascential) http://www-306.ibm.com/software/data/integration/datastage/

If (by way of example only) using Sybase as your database have a look at : http://www.sybase.com/detail?id=1035512   it does have samples down toward the bottom - basically have to create your own transform...

Other than that, go to your you will need to find out more about what it is that you are actually running...
0
 

Author Comment

by:hwdev
ID: 21786539
We are using Sybase and ASql Server as our Databases and I finally discovered an inhouse Transform routine that converts the System Date into CCYYMMDD.

Thank You
0
 

Author Comment

by:hwdev
ID: 21827637
I finally discovered an inhouse Transform routine that converts the System Date into CCYYMMDD.
0
 
LVL 51

Accepted Solution

by:
Mark Wills earned 300 total points
ID: 21827741
We know - you said that back on the 15th - or were you just toying with us :-)

The transform routines shouldn't be too hard to start from scratch... that second link does show you the steps - though not for date. Anyway, bit academic now, and glad you found it... Happy days !
0
 

Author Closing Comment

by:hwdev
ID: 31465596
Thank you for the comments but I discovered an in house transform routine.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question