How to creata a GMT Date

I need to express the current date in GMT.
I know I probably have to use some combination of java.util.Date and java.util.Calendar to pull this off. What's the best way to do this? Working with dates always makes my head spin. Many thanks in advance.

I dont mind the "thouroughness" as long as it can be
abstracted away in some custom APIs
Actually the Java API for date is VERY abstracted away. But it's fact that freaks people out.
Like this...
Right now it is 9:44 PM on Wed Nov 29th for me.
At the same time it is (I think) 12:44PM on Thursday Nov 30th for flounder.
Q: What is the difference in the date between flounder and I?
A: Nothing
Ahhhhhh! <sounds of heads exploding/>
But they are all the same aren't they? Yes. The only thing that is different is your view of it.
This is the way Java dates work and personally I think it is a smart way.

Similar Messages

  • How to create 3.x data source in bi 7

    Hi Guys,
                 can anyone tell me<b> how to create 3.x data source(emulated) in bi 7.0 </b>
    pls reply  me this is urgent
    ravi

    Ravi,
    Please do not multiply the same question several times. The answer is given in the other replica:
    how to create 3.x filesystem data source(emulated) in bi 7.0

  • How to create customer master data for walking customer in retail

    hi experts !!!!!!
    for retail industry e.g books trading industry
    how to create customer master data for walking customer in retail
    its dummy or one time customer
    if i create one time customer then same customer number can i use for every new order and every new customer how ?????
    thanks

    Dear Hanumant,
    As per my view,,
    You can use one time customer functionality to full fill your requirement.
    When you create sales order with one time customer system take you to the customer data maintanence screen through that you can maintain the one time customer data.
    Same one time customer number you can use for every new order through maintaining different data.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Dec 19, 2008 6:08 AM

  • How to create generic master data  datasource .

    How to create generic master data  datasource which utilises ALE change pointers for extraction of master data.

    Hi,
    For any master data lets say, Material Master, for this you need to create a view
    based on your requirement by selecting one or more tables into your view and
    keeping all the required fields in the view as viewfields and go to RS02 create
    generic data source, select the view option as source and put the view, save and
    activate, at the same time set the delta pointer as to whether Numericpointer/date/timestamp..this way you can create a generic DS then transfer the stru. and at the BW side replicate the source system..and so on..
    Hope this helps..
    Assign points if useful.
    Need further info revert..
    Cheers,
    Pattan.

  • How to create and up date infostructure?

    Hi,
    Can any body tell us how to create and upload data to info structure?
    regards,
    N.Nagaraju

    Hi,
    For maintenance of Infostructures the T-Code is LBWE.
    There you can chage the structure by clicking on Structure Maintenance.
    For creation of InfoSources the T-Code is RSA1.
    Thanks,
    Amit.

  • How to create a linked data source with document libraries based on the same template?

    I use SharePoint Foundation 2013, SP Designer and Visual Studio 2013 to my needs. But there are several things which i don't get.
    I have a number of libraries which use the same template. I want to create a linked data source, that would contain them all, and if I add a library based on this template, the library would be added to the data sorce. Is it possible?
    I tried creating linked data souces, but the view that it brings by default is limited(no sorting, etc.). How can it be modified?

    I am planning to do my project on Linux with J2EE,Oracle technologies.You don't need to set up a DSN. Just use a JDBC connect string such as jdbc:oracle:thin:@localhost:1521:xe
    ~Jer

  • How to create up-to-date Recovery Drive and Recovery Partition on Windows 8.1 U1.

    I am running 8.1 and exploring the recovery options.
    I'm periodically creating recovery images, etc. but would like to do better than that.
    I'd like to know how to:
    Create an updated Recovery Partition that will restore to a Recovery Image (WIM) that I choose.
    Modify / Create a Recovery Drive that includes a system image
    of my choice, as opposed to an image created by the manufacturer / supplier (and the extra work that that implies).  If I can create an up to date partition and mark it as such, then I'm clearly done.  Should I not be able to sensibly
    make my own partition, how do I create this on a USB recovery drive?  (The built in interface has a Boolean option, use hard drive recovery partition OR use nothing.  This would be solved if it
    also had an option to use current recovery image.  I'm happy to write simple code to make this happen if that's what it takes.)
    Put another way.  I can make a recovery image at will, how do I create a recovery partition and recovery drive to match?
    I'm no expert on the ins and outs of Windows 8.1 recovery, if this is already covered elsewhere, I'd appreciate a link.

    I have documented an unsupported process for creating an automated recovery for use in a task sequence
    here. However, if I read your post correctly you are suggesting being able to do this from USB media. The method for creating the recovery partition is simple. It is simply a partition containing a folder called RecoveryImage with your install.wim
    inside. Reagentc is the tool that will actually tell Windows where that recovery is. While I don't personally have a use for what your suggesting, I may give it a shot just to see if it can be done. I suspect it will work.
    Here are the links that got me started:
    ReagentC:
    http://technet.microsoft.com/en-us/library/dd799242(v=WS.10).aspx
    Creating Push Button Reset:
    http://technet.microsoft.com/en-us/library/hh824917.aspx
    Good Luck!
    bill
    Regards, Bill Moore @BMooreAtDell

  • How to create the Export Data and Import Data using flat file interface

    Hi,
    Request to let me know based on the requirement below on how to export and import data using flat file interface.....
    Please provide the steps involved for the same.......
    BW/BI - Recovery Process for SNP data. 
    For each SNP InfoProvider,
    create:
    1) Export Data:
    1.a)  Create an export data source, InfoPackage, comm structure, etc. necessary to create an ASCII fixed length flat file on the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider. 
    1.b)  All fields in each InfoProvider should be exported and included in the flat file. 
    1.c)  A process chain should be created for each InfoProvider with a start event. 
    1.d)  If the file exists on the target drive it should be overwritten. 
    1.e)  The exported data file name should include the InfoProvider technical name.
    1.f)  Include APO Planning Version, Date of Planning Run, APO Location, Calendar Year/Month, Material and BW Plant as selection criteria.
    2) Import Data:
    2.a) Create a flat file source system InfoPackage, comm structure, etc. necessary to import ASCII fixed length flat files from the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider.
    2.b)  All fields for each InfoProvider should be mapped and imported from the flat file.
    2.c)  A process chain should be created for each InfoProvider with a start event. 
    2.d)  The file should be archived in the
    ctnhsappdata\iface\SCPI063\Archive directory.  Each file name should have the date appended in YYYYMMDD format.  Each file should be deleted from the \Out directory after it is archived. 
    Thanks in advance.
    Tyson

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • How to create an UTF8 data file with max length fields

    We have a legacy application which allows for a transparent text field a maximum length of 30 Bytes.
    The DB-Length of the field is 40 Chars.
    In old NUC days it was so simple:
    TYPES: BEGIN OF t_items,
             hwmc(30) TYPE C,  
    A move, that was it.
    Now we have migrated to unicode, use UTF8 for the external data and are puzzeling over how to create an output field with a fixed length of 30 Bytes.
    Has somebody an elegant idea?

    wyfwong, >> Does the schema which stores a large BLOB column has to create a large tablespace in order to store the column value or the database automatically enlarge the tablespace when a large BLOB column is loaded into the table? <<
    The answer to this question would depend on how you defined the tablespace adn datafiles used to store the tablespace objects to begin with: raw partitions verse files, autoextend on or off, etc....
    It would seem to me to be foolish not to predefine the tablespace at least large enough to hold the tables and indexes based on their expected near_term data loads. That is, if you know the initial load of data will be 60G then the tablespace should be larger than 60G to start with.
    HTH -- Mark D Powell --

  • How to create 2 tables data in smartforms

    Hi
      I am new to smartform. I have minimum knowledge in smartform.
    here I have 2 tables. I want to display 2 tables data. How to create a smartform using these two tables? I know create a smart form using one table.
    Please tell me
    Thanks

    Ok you are passing fields from two different tables i believe
    1)For that jus give internal tables name as i said in your form interface->tables
    2)And in global data please mention your both tables work area
    3)Now in main window create table and ther in data give any 1 of the internal table name into WA
    4)Create loop for that right click->flowlogic->loop here mention your second table and its respective WA.
    5)Under this loop create table line->row->cells.
    6)Now mention your fields in respective cells as per your req
    This fields can be from any of your two internal tables.
    Swetha

  • How To Create the source data in the destination part of Shuttle in APEX?

    Hi,
    I create a shuttle in a region, and I can specify the source list value in the left part of the shuttle, and how can I create the original data in the right part(destination field).
    Now the destination part alwasy is null at first when open the page.
    So any idea? or Shuttle in Apex just can set the source data in the left part?
    Edited by: PPMonkey on Jun 18, 2009 10:10 PM

    Re: How do you populate right side of Shuttle control

  • HOW TO CREATE SAP BW DATA SOURCES FOR TDS REPORT?

    Hi All,
    How to create generic data source for these fields?
    I have TDS report these names and field.
    Pls anyone guide me..
    PAN NUMBER
    J_1IPANNO
    VENDOR NAME (accont type - k)
    LIFNR
    POSTING DATE
    BUDAT
    WITHHOLDING TAX  BASE
    WT_QSSHH
    WITHHOLDING TAX  AMOUNT
    WT_QBSHH
    NAME OF WITHHOLD TAX TYPE
    WITHT

    Hi ,
    Thanks for giving info.
    How to add different tables in generic data source?
    PAN NUMBER
    J_1IPANNO
    J_1IMOVEND
    VENDOR NAME (accont type - k)
    LIFNR
    J_1IMOVEND
    POSTING DATE
    BUDAT
    RBKP
    WITHHOLDING TAX  BASE
    WT_QSSHH
    WITH_ITEM
    WITHHOLDING TAX  AMOUNT
    WT_QBSHH
    WITH_ITEM
    NAME OF WITHHOLD TAX TYPE
    WITHT
    WITH_ITEM

  • May i know how to create Transactional Infocube, Data from cube to cube

    Hi All,
    I need to create a Transactional Infocube. Can anyone help me how to create that. and how it differs from Basic cube while creating Transactional Infocube.
    My other question is how to load data from one cube to another.( is it possible from basic to transactional )
    It's urgent.
    regards,
    Ali

    Hi Ali,
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/7b/a90e78d10311d4b3490050dadfb23f/frameset.htm
    Transactional InfoCubes differ from Basic InfoCubes in their ability to support parallel write accesses. Basic InfoCubes are technically optimized for read accesses .
    Use
    Transactional InfoCubes are used in connection with the entry of planning data. See also Overview of Planning with BW-BPS. The data from this kind of InfoCube is accessed transactionally, meaning data is written to the InfoCube (possibly by several users at the same time). Basic InfoCubes are not suitable for this. You should use Basic InfoCubes for read-only access (for example, when reading reference data).
    transactional infocubes can be filled with data using two different methods: using the transaction of BW-BPS to enter planning data and using BW staging, whereas planning data then cannot be loaded simultaneously.
    Anyway, the data from this kind of infocube is accessed transactionally, meaning data is written to the infocube (possibly by several users at the same time); basic infocubes are not suitable for this. I think this is the only proper use of this type of cube...
    We have an option to switch the Tranasaction cube such as "Loding allowed and Planning not allowed" and "Planning allowed and loading not allowed".
    please check these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm
    function module to read and write to a transactional infocube
    read and write to transactional infocube
    read and write to a transactional infocube
    Regards,
    Priyanka

  • How to Create Customer Contact data in SAP CRM

    Hi All,
    Would want to create Customer Contact data in SAP CRM, could please guide me step by step that how can i create the customer contact data in SAP CRM?
    Regards
    Avinav

    Hello Avinav,
    In CRM 6.0 and 7.0 GUI is no more used, you can use WEB UI and login using SALESPRO role to create a contact.
    1. Logon to CRM web UI
    2. Choose Create Contact from the Navigation bar
    3. Enter all the data - Title, first name, last name, account id,
    street, stree2, street3, street4, street5, city, postal code, email,
    mobile no and website.
    4. Press the Save key.
    Hope it will help! Please award points in case this helps!
    Best Regards
    Lata

  • How to Create .m4v Meta Data ?

    I am having difficulty with retaining meta-data in .m4v files that I create.
    The issue revolves around the .m4v file format, which can be produced using source DV data with applications such as Quicktime, iMovie, etc.
    iTunes gives the user the ability to import .m4v files into iTunes and offers a way of customizing the metadata which then iTunes uses to sort and categorize as either TV Shows or Movies.
    By default, iTunes assigns all imported .m4v files to the Movie category. I attempted to change the categorization to "TV Show", and added additional meta-data, but for some reason this meta-data doesn't seem to be stored as an integral part of the file, but somewhere else.
    The problem is when I move the data from one machine to another, say for a server upgrade, or a client upgrade. The meta data appears to be lost.
    I would like the ability to retain the meta data that has been entered either by retaining the files that contain the meta data, or by knowing how to embed the meta data into the file itself.
    Any help would be appreciated.

    I'd recommend using Lostify ( http://lostify.com/about/ ) to tag your files. This is done with the actual file and not in itunes so it should be transportable. I wouldn't worry about it's automatic tagging as you can do this manually.
    Kind regards
    Paul

Maybe you are looking for