Solved

Convert Current System Date  to CCYYMMDD

Posted on 2008-06-09
8
2,503 Views
Last Modified: 2012-06-27
How do i take the System Date (@DATE) and convert it to CCYYMMDD.
0
Comment
Question by:hwdev
  • 4
  • 2
  • 2
8 Comments
 
LVL 21

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 21

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
 
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Creating and Managing Databases with phpMyAdmin in cPanel.
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now