How can i get this date format
i want to convert my date format to
YYMMDDHHMMSS
so lets say
select format_date (sysdate YYMMDDHHMMSS ) from dual
out put
090612040957
help please
Edited by: kama021 on Jun 13, 2009 9:05 AM
Edited by: kama021 on Jun 13, 2009 9:06 AM
Hi Kama, try these and spot the difference:
MHO%xe> select to_char(sysdate, 'YYMMDDHHMMSS') from dual
2 /
TO_CHAR(SYSD
090613060625
1 rij is geselecteerd.
Verstreken: 00:00:01.21
MHO%xe> --that was totally WRONG, use :
MHO%xe> select to_char(sysdate, 'YYYYMMDDHHMISS') from dual
2 /
TO_CHAR(SYSDAT
20090613060758
1 rij is geselecteerd.
edit
Using 2 digits for century = soooooo 1970's....
I suggest you read op on presenting dates here:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_sqltypes.htm#sthref442
Edited by: hoek on Jun 13, 2009 6:10 PM
Similar Messages
-
How can I parse this date format?
Hey,
i am trying to write an interface between two applications. One application gives me the following date:
Wed Jul 16 12:18:20 CEST 2003
but I need it to look like this:
16.07.03 12.18:20
I tryed to use Date and DateFormat to parse and change it but the Date was unparseable.
I hope somebody can point me to the right direction or show me how I can do the formating.
Thanx a lot!
MartinIf this isn't a well-known date format, I can't see any solution but to write small function yourself which doe the job.
you can start with :
String source = "Wed Jul 16 12:18:20 CEST 2003";
String[] elements = source.split();//splits source around spaces
then you write functions that map day of week with numbers
"Mon" --> 1
"Tue" --> 2
etc...
it won't take you days to write this.
Sometimes it's faster to write the stuff yourself than spending days looking for something pre-defined that may or may not exist. -
In disk utility, it shows that my external hard drive is somehow unmounted and I can't access it in finder or repair it in Disk Utility. How can I get this working without losing my important data?
Thank you!When you erased the disk did you select Mac OS Extended Journaled as the format option?
-
Hello, I want to restore a backup from this afternoobut in i-tunes it is not visseble. When I'll look on te pc: (username)\Application Data\Apple Computer\MobileSync\Backup\ it's there! How can I get this backup to my iphone or itunes? Thanks in advance!
Follow the steps in this article to restore from iTunes back up:
http://support.apple.com/kb/HT1766
Since you say you cant see the back up in iTunes you should be able to see it when following the last step where it says for iTunes 10.7 or earlier. Dont worry as this step also works for iTunes 11. -
I have a Mac Pro OS 10.7.5 and have a DVD+R disc with files on it, but it ejects the disk after about 10 seconds--what to do? How can I get the data off this disc? I can see it has been already burned, so files are on there?
Try cleaning the lens and see if that will restore functionality to the DVD drive. Use a DVD lens cleaning disk, if you have a can of compressed air, shoot some into the slot or wrap a fine microfiber cloth (eyeglasses cleaning cloth) around a business card and insert it gently inside the slot.
If no success, make an appointment at an Apple store genius bar and get a free diagnosis from them.
Ciao. -
How can i get todays date as an yyyy-MM-dd format instead of Time stamp
how can i get todays date as an yyyy-MM-dd format instead of Time stamp,i try to do it in the fallowing way
<code>
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd");
java.util.Date d = new java.util.Date();
String s = d+"";
Calendar cal1 = Calendar.getInstance();
try{
cal1.setTime(sdf.parse(s));
}catch(Exception e){}
</code>
but i could not able to get,it throws error as an java.text.ParseException: Unparseable date: "Thu Jan 24 11:43:32 EST 2002" ,pl suggest me any solution.any help would be appreciated.
Regards.Does string s have to end with ""?
Try doing sdf.format(d) instead. -
I pay to get music from Kazaa which uses a WMA format, when I try to add it to my Itunes it says that the songs is from a WMA format and Itunes uses AAC format, how can I get this music to my Itunes to put on my I-pod/
By converting the WMA files to AAC formatted files.
-
How can I get this thru SQL ?
Hi,
I am having following sample data
NUMRUB FORMAT
1 X(02)
2 9(02)
3 9(08)
4 X(20)
5 9(01)
6 X(03)
7 9(1)
8 X(02)
9 9(02)
I want output in following way
NUMRUB FORMAT NewFormat Start Position
1 X(02) 2 1
2 9(02) 2 3
3 9(08) 8 5
4 X(20) 20 13
5 9(09) 9 33
6 X(03) 3 41
7 9(1) 1 44
8 X(02) 2 45
9 9(02) 2 47
How can I get this thru SQL ?
Pl guide me.
thanks & regards
PJPSQL> create table mytable (numrub,format)
2 as
3 select 1, 'X(02)' from dual union all
4 select 2, '9(02)' from dual union all
5 select 3, '9(08)' from dual union all
6 select 4, 'X(20)' from dual union all
7 select 5, '9(09)' from dual union all
8 select 6, 'X(03)' from dual union all
9 select 7, '9(1)' from dual union all
10 select 8, 'X(02)' from dual union all
11 select 9, '9(02)' from dual
12 /
Tabel is aangemaakt.
SQL> select numrub
2 , format
3 , to_number(regexp_replace(format,'(X|9)\((.*)\)','\2')) "NewFormat"
4 , nvl
5 ( sum(to_number(regexp_replace(format,'(X|9)\((.*)\)','\2')))
6 over (order by numrub rows between unbounded preceding and 1 preceding)
7 , 0
8 ) + 1 "Start Position"
9 from mytable
10 order by numrub
11 /
NUMRUB FORMA NewFormat Start Position
1 X(02) 2 1
2 9(02) 2 3
3 9(08) 8 5
4 X(20) 20 13
5 9(09) 9 33
6 X(03) 3 42
7 9(1) 1 45
8 X(02) 2 46
9 9(02) 2 48
9 rijen zijn geselecteerd.Regards,
Rob. -
I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.??
You can find the backup files and then copy them to a safe place if you are worrying about this.
iTunes places the backup files in these places:
Mac: ~/Library/Application Support/MobileSync/Backup/
The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK. -
Just installed CS5 onto new computer. Adobe bridge and CS5 do not recognize CR format. How can I get this installed. I have tried up dating and downloading the CR6.7 update, but can not get it to install. What do I do?
Product updates
-
How can I get a date picker or wheel to show up in the form to make filling in a form with a lot of
how can I get a date picker or wheel to show up in the form to make filling in a form with a lot of dates more easy?
There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.
-
Lost all of my data on iphone and have no cloud back up how can i get my data back
lost all of my data on iphone and have no cloud back up how can i get my data back
iOS devices do backup automatically to iCloud providing:
iCloud Backup is turned on
It has a Wi-Fi connection
It is connected to a power source
The screen is off
5GB is plenty of storage for me to backup to iCloud automatically.
I have a 64GB iPhone & a 128GB iPad both backing up to the same iCloud account and I still have nearly 2GB free.
This is mainly because media is not backed up and Photo Stream & iTunes purchases do not count against your iCloud storage.
Here’s what iCloud backs up:
Purchase history for music, movies, TV shows, apps, and booksYour iCloud backup includes information about the content you have purchased, but not the purchased content itself. When you restore from an iCloud backup, your purchased content is automatically downloaded from the iTunes Store, App Store, or iBooks Store. Some types of content aren’t downloaded automatically in all countries, and previous purchases may be unavailable if they have been refunded or are no longer available in the store. For more information, see the Apple Support article iTunes in the Cloud availability by country. Some types of content aren’t available in all countries. For more information, see the Apple Support article Which types of items can I buy in my country?.
Photos and videos in your Camera Roll
Device settings
App data
Home screen and app organization
iMessage, text (SMS), and MMS messages
Ringtones
Visual Voicemail -
How can I get my data from a old iPad to a new iPad using iCloud and not iTunes
How can I get my data from a old iPad to a new iPad using iCloud and not iTunes
Restore from the iCloud backup - assuming that you were backing up to iCloud in the first place. If you weren't using iCloud for backup - then you are out of luck.
If you were backing up to iCloud - you have to erase all contents on the iPad in Settings>General>Reset>Erase all content and settings - before you can restore from the iCloud backup.
Read this article before you do anything else
http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/ -
I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation. It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0. How can I get this to work?
Oaky, at least we got that far. Next step is to determine if all those "numbers" are really numbers. Changing the format to "number" doesn't necessarily change the string to a number. The string has to be in the form of a number. Some may appear to you and me as numbers but will not turn into "numbers" when you change the formatting from Text to Number. Unless you've manually formatted the cells to be right justified, one way to tell if it is text or a number is the justification. Text will be justified to the left, numbers will be justified to the right.
Here are some that will remain as strings:
+123
123 with a space after it.
.123 -
I was in a car collision and need proof of my location when I called 911. The Police Dept., refused to respond, since there were no injuries.
Now, I have a dispute with the other driver who is falsely stating accident happened at another intersection. In addition of calling 911 twice, I also took pictures of damages. Unfortunately, I did not take pictures of the intersection signs.
My AT&T carrier states that this info. can only be disclosed by a subpoena. My insurance carrier states that they will not subpoena this info., since it is a civil case only.
The Police Department does not keep records of calls they do not attend to.
How can I get this location info. from my i phone device if at all possible?
Thanks,
PecosaJohnathan Burger,
I did take photos of the damages to car and license plates, but NOT the intersection signs.
How do I get the GPS Data in the exit data of photos? Please advise.
Thanks,
Message was edited by: Pecosa
Message was edited by: Pecosa
Maybe you are looking for
-
Hi Guys, Please help. I am trying to run remote desktop from internet. I have just been given a static IP address from my ISP and when I type it into browser I get router login page. I want to be able to use Remote Desktop. I can use RDP on the L
-
How do I restore column headings in Response table after accidently deleting them? Undo doesn't work (only seems to go back one level). I also have so many headings I won't be able to type them in manually!
-
Problem with mass IDoc for Material Master
Hi All, Can anyone suggest a solution to work with mass IDocs for Material master? We have DEBMDM and CREMDM as mass capable IDocs for Customer and Vendor. How do we get mass Material Master IDocs from R/3 in a single XML file? Also the standard Mate
-
Can't find Lightroom after installation.
I just bought Lightroom and installed it via a disc onto my Mac OSX 10.8.4. It said that it was installed successfully, but I can't find it anywhere. I was never asked for my serial number. I tried clicking on an old trial version that I had and i
-
'.class' expected compiler error
Here is my code: import java.util.*; public class LetCount public static final int NUMCHARS = 27; //You define // int addr(char ch) returns the equivalent integer address for the letter // given in ch, 'A' returns 1, 'Z' returns 26 and all other le