Displaying date and time in filename,
hai to all,
i need to take exp dump daily so i prefare to use scheduletask manager but i dont knew how to place the exp dump file name and its logs with their current sysdate and time while exp is taking part.
for example:
exp userid=........... file=d:/new_%date%.dmp log=d:/newlog_%date%.log .................................................
then export gets completed but the dumpfile shows the file name as new_tue.dmp.
it shows only the day but i need full date with its time.
so can anyone help me ,thanks in advance.
regards
ashik
Hope this may be useful.
make the relvent modification to the below content and save it as .bat file and execute
@echo off
set ORACLE_SID=<your DB SID>
date /T > abc.txt
for /F "tokens=2,3* delims= " %%x in (abc.txt) do echo %%x > abc.txt
for /F "tokens=1* delims=/" %%x in (abc.txt) do set DD=%%x
for /F "tokens=2* delims=/" %%x in (abc.txt) do set MM=%%x
for /F "tokens=3* delims=/" %%x in (abc.txt) do set YY=%%x
for /F "tokens=1* delims= " %%x in ("%YY%") do set ZZ=%%x
del abc.txt
echo FILE=c:\%DD%-%MM%-%ZZ%.dmp>exp.txt
exp <username>/<password> parfile=c:\exp.txt
# just moving the .smp file to another dir.
move %DD%-%MM%-%ZZ%.dmp c:\product\
~
Gidhin KJ
.
Similar Messages
-
Displaying Date and Time in portal desktop
Hi
I have been looking around for any info or guideline to display the <b>date and time</b> in the portal desktop. I could not find anything very helpfull. In visual admin you can swap lastname and firtsname and vice versa. Thou there is nothing about displaying date and time.
Is it possible to display it and how?
Thank you for any information
NamiraWhere u need the time to be displayed.. If it has to be displayed in Masterhead you can programatically display it...
import the par file for Masterhead, change it and replace it..
Its a simple JSP page so that u can change it easliy..
cheers
gEorgE -
How to display date and time on jsf page
Hi,
how to display date and time on jsf page
we are using 11.2.0.0 jdeveloper on windows.
thanks
Edited by: user12187801 on 26-Jul-2012 01:42Your question is certainly lacking some information.
If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
If you meant something else, then it's back to you to explain. -
I have checked the box "display date and time on the Menu Bar" and it does not work. Using OS X Yosemite 10.10.2 Anybody have a fix?
Please read this whole message before doing anything.
This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
Step 1
The purpose of this step is to determine whether the problem is localized to your user account.
Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
Test while logged in as Guest. Same problem?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
Step 2
The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Please take this step regardless of the results of Step 1.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2. -
Can we display date and time in a movie
I am filming a production process and would love to be able to display time of day as the video is playing.
I can see this info while editing, but I don't know if iMovie'11 will let me display this info onto the movie itself? I need to pass these clips to someone who doesn't have any editing tools, but they will be interested to review the events on the tape relative to the time of day that they occurred.
It would be cool if iMovie had a title effect that 1) displays time and date info, 2) let's the user edit the format of the displayed date and time, and finally, 3) lets the user move this title information to a location in the tape that won't obstruct the critical elements of the movie.Thanks Appleman 1958!
This helps, but to your point, it doesn't show seconds, and it doesn't show frames (for the video purists out there).
Limited to no more detail than minute data, it is not too useful for me, but I could see this being fun in a fast motion shot.
Also nice for capturing day and time of day information for a vacation video.
For my application, all activity took place in 5 hours, and I would need to see down to the second (and ideally the frame) when specific actions took place.
It would be awesome if Apple would let us
1) edit displayed information (lets say for example turn off date, but show hours minutes seconds and frames)
2) edit the font & font size
3) allow flexible placement of the information window. The default location may be where major action is.
Again, thanks for pointing out this title! -
Display date and Time in Oracle Application Express Page
Hi
I have a requirement of showing the date and time in the top left corner of the page which should be updated at all times . The format is DD-MON-YYYY HH24:MI:SS.
I am able to display the date but not the time . Also the time should be updating on its own to the last second.
Another requirement is that on selecting a particular value from the drop down the table values displayed should be filtered
Thanks in advance for helping me out
you can also send in the responses to [email protected]
Regards
Jude FrancoHello,
I am able to display the date but not the time Probably due to your NLS settings not displaying the time component for dates. However you can manually specify the output format like this -
jes@DBTEST> select to_char(sysdate, 'HH24:MI:SS DD-MON-YYYY') as TS from dual;
TS
10:47:45 10-DEC-2008
Another requirement is that on selecting a particular value from the drop down the table values displayed should be filtered Really need more details on that (remember assume that we know nothing about your requirements other than what you tell us). However at a high-level you need to include the drop down value in the query predicate used for your report, for example -
select
e.ename,
e.sal
from
emp e
where
e.deptno = NVL(:P1_DEPTNO, e.deptno)Would use the value from the P1_DEPTNO select list (presumably displaying department names) and use it to filter the result. The NVL is there so that if no dept is selected then the query by default shows all the records.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
Automatically displaying date and time in a date/time field on form initialize
Good day all;
I am trying to have the current date and time automatically be generated in a “date/time” field when the form is opened.
I went through the forum and found an entry from Srini “ xfa.host.messageBox("" + Date());” . Of course this brought up a system message box with the date and time.
I then tried “DateTimeField1.rawValue = (“”+date())… This also gave me a system message box with the date and time…
Please let me know where I am going wrong
ChompFound the answer... And yes... in was in the "help" section... What can I say I was making it a lot more crazy than I needed to.
You can use a date/time field to automatically show the current date by using the Runtime Property option in the Value tab of the Object palette.
When using a current date field, the date updates to reflect the system’s current date each time a user opens the form.
1.
In the Library palette, click the Standard category and drag a Date/Time Field object onto the form design.
2.
In the Object palette, click the Value tab and select Calculated - Read Only from the Type list.
3.
Select the Runtime Property option.
4.
View the form in the Preview PDF tab. -
How to display date and time on page
I have the effective date in the database correctly and it shows the date and timestamp of the transacation but only shows the date on the page. How do I get it to show the date and timestamp on the page.
Hello,
If you are talking about a field on a PS page, I had to do something somewhat similar to what you want and what I ended up doing was adding a datetime field (DATETIME1) on the page and on the page peoplecode (activate) I added this following code: Record.DATETIME1.Value = %Datetime;
The Result: 03/25/2015 1:01:54PM
Hope that helps. -
Error in Displaying date and Time in Message - Nok...
Hi,
I have brought a new Nokia 5130 Xpressmusic last month. Now i am facing a problem when i received the message. In the message detail of any message of my inbox the time displayed is 7 to 8 hrs ago the time when i received the message.
For Example
If some body send me a message at 1:00 PM the message detail will show the time 9:00 AM approx....
Any body help me on this....
~Ujjwalmake sure that your time and date settings are correct
for time make sure you have correct time zone - use local or your specific time zone if you prefer
also see if you have automatic time update on or off, if it is on turn it off or if you are using local time you can have it on. see if this helps your issue any
You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery.... -
How can display date and time in text item ?
Hello all,
I have placed two text items (named text_item1,text_item2).
I want to place the current date in one text item and place current time in another text item. how can i place this?Hi
This depends on ur needs
WHEN-NEW-FORM-INSTANCE > if u want to appear it on the very begining moment
--=============
u can use
WHEN-VALIDATE-ITEM > on ur date fields
Here is a link that may help u decide where to take off with this code...
http://www.dotnetspider.com/resources/22433-Triggers.aspx
http://www.slideshare.net/magupta26/oracle-forms-tutorial
Hope this helps ,
Regards,
Abdetu... -
Displaying Date and Time using SimpleDateFormat
I am having trouble displaying the year in a 4 digit format.
My code is as follows:
long measurement;
Calendar TimeStamp = Calendar.getInstance();
SimpleDateFormat TimeStampFormat = new SimpleDateFormat("yyyy:dd:hh:mm:ss");
TimeStamp.setTimeInMillis(measurement);
System.out.print( "\n" + this.getName() + TimeStampFormat.format(TimeStamp.getTime()) + "\t" + Double.longBitsToDouble(measurement));
The display is as follows:
1229798184808538385 38972723:04:10:15:38 Sun Feb 04 22:15:38 EST 38972723
1229798184808538385 38972723:04:10:15:38 Sun Feb 04 22:15:38 EST 38972723
1229798184808538385 38972723:04:10:15:38 Sun Feb 04 22:15:38 EST 38972723
1229798184808538385 38972723:04:10:15:38 Sun Feb 04 22:15:38 EST 38972723
The first column is milliseconds which looks fine, the second column looks like the year is stll displayed in milliseconds, same with column 3.
Any ideas on what the problem is?
ThanksYour time has too many digits. When I print currentTimeMillis I get
1234028242125
You appear to have the time in nano-seconds.
1229798184808538385
You might get the right time if you divide by a million. -
Hi,
I don't know if this is possible with Flex. I would like to
read user's regional settings (from his operating system) for
displaying date and time and then display these values in according
format. So how do you read those settings from the user's OS? Is
there a way?
thx in advYou cannot read OS setting using Flex. Maybe you can do it
using AIR. For Locale aware date time format have you looked into
Date.toLocaleString(),
Date.toTimeString(),
Date.toLocaleTimeString(),
Date.toDateString(), and
Date.toLocaleDateString()
methods? -
I'm a relative newbie still having issues with getting date and time stamps on my printed documents.
I use Preview, Pages, Numbers and also tend to print to PDF a lot, which I am opening in Preview.
I have found an "Insert" ability in Pages but for some reason it appears to only give me the date that I inserted the Timestamp.
Can anyone help me figure out my options in Mac for putting the following on a document:
A. DATE and TIME printed
B. NAME of document with LOCATION (I assume this is software specific?!)
Thanks for any help with this.
- JonYes, ...and I was hoping to find a solution since I sometimes have the same problem!
But I'm afraid there is none. For sure I didn't find any fxscript function returning Date&Time. At the moment the best solution I know is what you suggested, Ian: capture twice, once in FCE for editing and once in iMovie for reading Date and Time.
I'd be glad to write and share a plugin displaying date and time if somebody is able to tell me what fxscript function (if any) should I use...
Piero -
Hi,
I'm using the Current Date control on my form. This is OK for the date but I need the current time on a seperate control.
I see it has binding options in the Object section ie date, date and time and time but only date seems to work.
Does anyone know how I can set this to display the time only?
thanks
PaulYes, that should be the answer. But, as I said, when I select time only it still displays date and time.
In the 'Value' tab, I've been trying different settings. I set Type to User Entered options and Calculated options. I only get a blank unless I set this to "Calculated - Read Only" and set the runtime property to the only option available which is 'Current Date/Time'
So, there must be another setting that I need?
thanks,
Paul -
Hello,
Can we add both the date and time together using web dynpro ABAP as available in SAP CRM? If yes, How?
Thanks,
Rinkal>
Rinkal Salia wrote:
> Hello,
>
> Can we add both the date and time together using web dynpro ABAP as available in SAP CRM? If yes, How?
>
> Thanks,
> Rinkal
You need to give more details of what you want to do other than to just state as available in SAP CRM. I have a feeling that most people in the WDA forum (myself included) haven't worked extensively in SAP CRM because it doesn't use WDA.
Do you mean some combined UI element that displays date and time together? Please describe.
Maybe you are looking for
-
Can I share my books on iPad with someone in family that has a different computer and email address
Can I share my books on iPad with someone in family that has a different computer and email address
-
Scheduling in Warehouse Builder
Hi all, There is an urgent requirement for scheduling in warehouse builder in my project. Can any one provide me the doucument for the scheduling processes in warehouse builder.
-
Not able to get file from application server with read dataset
Hi, Firstly i download a file from application server from read data set and then i sent this file as attachment. But problem is that i am able to send .jpg .bmp file but i am not able to send .pdf or .doc file so what can i do for that. ? My code is
-
Not able to enter a Distinct EA twice in the same Custom Section
(Answering a question asked offline.) By design, you are not able to have the same Distinct Extended Attribute twice within a custom section. I believe you might be able to define it twice, but they can't both be the default. If you are allowed to do
-
Segmentation & G/L Account Determination
Hi I have segmented accounts for Branch and Location. How do I map it in G/L A/c Determination because the control accounts for sales and purchase are different for different branch and locations. Can anyone guide me on above Regards Indrajit