Time and date function, how to use?

Hello everyone,
I want to know that how can we make use of these two system functions SY-TIMLO, SY-DATUM ?
What should i write in data? pbo? pai?
Should i write something like this in data?
DATA: Ok_date TYPE SY-DATUM.
DATA: Ok_time TYPE SY-TIMLO.
What should i write in pbo and pai and should i need to make changes in screen elements? do i need to create one?
Please guide and explain with an example. Thanks a lot for writing back.
Regards,
Lucky
Moderator message - Please ask a specific question - post locked
Edited by: Rob Burbank on Aug 4, 2009 12:14 PM

Hi,
create two variables in the top include..
data :P_date type Sy-datum default sy-datum,
p_time type sy-uzeit default sy-uzeit.
Next go to screen and enter table syst...
and select datum and uzeit and drag to screen..
and rename the field to p_date for syst-date and p_time for syst-uzeit.
Prabhudas

Similar Messages

  • HT4623 After updated to iOS 7.1.1, my iPad went wrong with time and date. How can I solve this?

    I have updated my iPad mini to iOS 7.1.1 recently. After updated, it went wrong with time and date even I tried to restart it or set manual time/date or set auto time/date. How can I solve this problem?

    Hello Phirum OL,
    Here is an article that will help you adjust the date and time settings on your iPad:
    iOS: Troubleshooting issues with date and time
    http://support.apple.com/kb/ts3920
    Learn the steps to take if your device has any of the following issues with the date and time.
    Incorrect date or time
    Wrong time zone being set automatically
    Issues related to automatically switching with daylight savings time
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Why my atv can't set time and date after restoring it using itunes ?

    when my atv restarting after  I restored it using iTunes, it can't set the time and date.
    the atv is connected to the net by wi - fi.
    when I try to sign in using my apple id, I get a massage that the password is incorrect.
    I have apple tv with ios 7.

    The network and signal test on device won't give the full picture, for that you need a network report. Go to istumbler, netstumbler or similar, that will show true signal strength as well as any nose detected. You can also try Ethernet to help rule out WiFi issues.

  • Time and date messed up after using Windows

    I have recently installed windows xp pro in my macbook pro and I noticed that every time I pass from windows to leopard the time is off of several hours and I have to set it up again. How can I fix this problem?

    I finally found out how to fix the time! Open up Date & Time; it will take you to the Systems Preferences. Make sure that Set Date & Time Automatically is checked. That takes care of the problem.

  • Can I change incorrect time and date with

    Hello,
    I used my digital camera in a different time zone and forgot to set it accordingly. Now a bunch of photos have the incorrect time and date. Can I use Photoshop CS4 (11.0.2) to change this? I only found instructions on the Internet for Elements, which I do not have.
    Windows Live Photogallery was only mildly successful. In the Windows 7 Explorer the date is shown correctly, but when I go to open the file in Adobe Photoshop, the old, incorrect date is shown. That's why I hoped that I could change this for good with Photoshop.
    Thanks in advance!
    Aiiyana

    There are several dates in the metadata.  THe date shot is set by the camera and I know that you can not change that in Bridge.  There are programs out there on the web that will do it.

  • Getting the time and date of when tracks are playing for an honours project

    Hi people.
    I am in 4th year at Glasgow Caledonian University studying Audio Technology. I am doing an honours project on the classification of contemporary music and what I am looking to do is retrieve information on exactly when tracks are played (time and date) on an iphone using itunes.
    I know that last fm time stamps each time a track is played and running this through itunes is an option. Does anyone know of a way to get this information from itunes? I have even tried phoning apple but they say possibly only a third party app which I have had no luck finding.
    Thanks for reading.
    Gerry Gregory

    If I understand you correctly and you want to get this information from tracks being played on an iPhone, one of these might work for you:
    http://itunes.apple.com/app/iscrob/id381910892?mt=8
    http://itunes.apple.com/us/app/iscrobble-premium/id328295497?mt=8#
    Regards.

  • How do you convert .AVI files for using in iMovie without losing the original clip time and date

    Hi everyone! does anyone know how to convert .AVI files for using in iMovie without losing the original clip time and date? Handbrake, MPEG Streamclip and Evon all replace the original timecode with the date of modification. This is very frustrating when you are trying to keep the chronology right. I know that if you upload the files to iMovie from one device the chronology isn't a problem, but I'm adding video files from a couple of iPhones and a couple of camcorders. any help much appeciated.
    paul

    Hi everyone! does anyone know how to convert .AVI files for using in iMovie without losing the original clip time and date? Handbrake, MPEG Streamclip and Evon all replace the original timecode with the date of modification. This is very frustrating when you are trying to keep the chronology right. I know that if you upload the files to iMovie from one device the chronology isn't a problem, but I'm adding video files from a couple of iPhones and a couple of camcorders. any help much appeciated.
    paul

  • How to calculate elapsed time(including time and date)?

    Hi all,
    I want to realize a function that can calculate the elapsed time which include time and date.Below is my thought:get the current time and date and store it to a .txt file then using the latest time and date subtract the time and date stored in the .txt file.how can realize it using the simplest way?I'm using LV7.1.

    Hi Idragon,
    you can do it like this.
    Mike
    Attachments:
    DateTime.PNG ‏12 KB

  • How to get FMS server time and date

    hi,
    i m working on a customer support chat application. There is
    neccssary for me to get the FMS server time and date, bcoz
    depending on the server time and date the client instances recive
    different messages.
    i looked at date() function on FMS server, but it returns
    user PC time ( not FMS server time).......
    so i there any way to get FMS server date and time??
    thanks in advance
    shrikant

    See this post.
    How To Display Time Information in Report/Results?
    http://forums.ni.com/t5/NI-TestStand/During-a-test-how-can-I-find-the-start-time-and-date-of-that/td...
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Why the time and date is not correct when I save a waveform in txt format, using Labview 6.1?

    I am using Labview 6.1 and my operation system is Windows 98. The date/time properties is configured in the Windows (time and date in the control panel is correct). I generated a waveform using Basic Function Generator.vi and saved this using the Export Waveforms to Spreadsheet File.vi. When I opened this file the date and time was wrong. Only the delta t was correct and it did not show the date neither the time, only a float number. How can I adjust the correct time?

    Actually, the date/time is correct, it is expressed as seconds since January 01, 1904.
    In order to print the string version of the date/time from your file, you will need to write a utility that converts the date/time to a string or series of strings in whatever format you wish. This can be done by reading the first line (I assume that is the line with the time on it), formatting the date/time into a string, and writing over this information in the file.
    The waveform VIs were meant to be used internally to read and write waveform data. Any use beyond that should require you to add formatting and other information/data as necessary.

  • How do you add the absolute time and date to a spreadshee​t file?

    I am creating a spreadsheet file, and I want to write the absolute time and date to its first column. Does anybody know how to do this?
    Thank You,

    BrianL answer is still valid !
    Attached is an example file with an express vi configured to use the absolute time generated from a get time/date node.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Save with absolute time.vi ‏135 KB

  • How to show two different plots with current system time and date on waveform chart

    I am using  one waveform chart to display the more than one value continiously. The data  are comming properly but i am not getting my system (pc) time and date on x axis. It is showing default date and time (i.e.01/01/1904 5:30:45). Please  give me suggestions to display the real time and date on x axis of waveform chart. 

    How does your data look like? Do you graph waveform data types, dynamic data, or plain arrays/clustes? In the case of plain arrays, you need to set x0 to the absolute start time of your data, e.g. with a property node.
    I you would attach your code (or an image) we could offer more specific advice. There are too many possibilities.
    LabVIEW Champion . Do more with less code and in less time .

  • How do you set the time and date for the fax on the HP Office Jet 4622 All-in-one Printer?

    I installed the HP Office Jet 4622 All-in-one Printer and everything works wonderfu.  However on the test page for the fax the time and date are showing Jan-00-00 00:00AM.  I do not know how to change the date and time.  Please help.  Thanks.
    This question was solved.
    View Solution.

    Use the Setup (wrench icon) button on the front of the printer to look through the settings menu to set the printer time and date.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How To Include Current Time and Date in Form

    Does anyone know how I can include the time and date in the
    body of a form mailer? Our system allows the receiver of each
    submitted form to copy the body of the form entries and paste them
    into either Excel or FileMaker for database building. They would
    like to have the time and date also appear somewhere in the
    submitted body so they will not have to do a seperate copy/paste of
    the time and date seen in the header... I followed the javascript I
    found in the Adobe website and included it within the form, but
    when I ran a test nothing showed! Here is the form...
    Click
    Here to see the Form
    Thanks for your help! -D

    Can you not use when the email's timestamp?
    Also, in z7's script, beware the common mistakes, if you try
    to retype it - .getDate() gives the day of the month (1-31), but
    .getDay() gets the day of the week (1-7). To make it more
    confusing, .getMonth() gets the month (0-11), so you have to add
    one to make it human-readable. The script posted is correct, but I
    went round and round with my PC when I tried to do that the first
    time!

  • How to get the start time and date

    Hi everyone! I have a question ,who will be glad to help me! Thanks in advance!
    As we know ,when we finish the UUT test ,it generate report . The report format maybe like"SeqFileName_Report[Time][Date]_00001.xml"
    My question is"how can I get the [Time] and [Date] in the test sequence"

    See this post.
    How To Display Time Information in Report/Results?
    http://forums.ni.com/t5/NI-TestStand/During-a-test-how-can-I-find-the-start-time-and-date-of-that/td...
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

Maybe you are looking for

  • Shuffling Folders, move them all up one level

    2014 >>>>WK99 >>>>>>>>AFolder >>>>>>>>>AFolderPSD >>>>>>>>BFolder >>>>>>>>>BFolderPSD >>>>>>>>CFolder >>>>>>>>>CFolderPSD >>>>WK98 >>>>>>>>AFolder >>>>>>>>>AFolderPSD >>>>>>>>BFolder >>>>>>>>>BFolderPSD >>>>>>>>CFolder >>>>>>>>>CFolderPSD This is the

  • HT201303 How to change my security question?

    How to change my security question? I forgot the answer

  • Created IDVD Watch on a Blue Ray

    I created an IDVD as I always have. It is still pictures only. A Main Page with 5 slide shows to choose from. I can watch it on my computer after it is burned. I can watch it on my insigna dvd player. However, when I put it in my new BlueRay player w

  • Network UI element

    Hi, when i put the application in iview in the portal i can't see the orgchart but when i deploy the app from WD I see the org chart i think the problem in the typerepository where the file supposed to be? and other gifs?? regards Yossi

  • Can itunes make a second library?

    Hi.. I have a music library and I make animations. When I make animations I need to listen to sounds from the sound library, but itunes adds these to my main library. As these come in as various names, these are getting confused with my music library