What's the format of DateTime in IPD file?
I want to analyse the format of SMS Message in IPD file.
I sent a SMS Message with 'Test' content to 10086 at May 18, 2010 14:16:17 (GMT+8), then I found the data block of DateTime that saved in IPD file is '81 49 EA 6F 27 01 00 00', the Low Dword of DateTime is 0x6FEA4981, the High Dword of DateTime is 0x00000127.
I want to knwon how to convert this double Dword value to real date time.
The SMS Message format:
Thanks.
Solved!
Go to Solution.
lordong wrote:
I sent a SMS Message with 'Test' content to 10086 at May 18, 2010 14:16:17 (GMT+8),
<snip>
Thanks.
Neat trick. Can I borrow your time machine?
The value is 1268892977537.
A little bit of work in a spreadsheet tells me that this is the number of seconds from 1/1/1970.
Similar Messages
-
What's the format of the datasource tag in jbosscmp-jdbc.xml
Hi,
I made a CMP when I use Lomboz to generate the classes, and xml files, but I still don't know how to relate my CMP to datasource.
I thought may be I should configure the jbosscmp-jdbc.xml, because when I look in this file and found:
<defaults>
<datasource>PLEASE_MODIFY_THIS</datasource>
<datasource-mapping>PLEASE_MODIFY_THIS</datasource-mapping>
<preferred-relation-mapping>PLEASE_MODIFY_THIS</preferred-relation-mapping>
</defaults>
But I don't know how to "modify this", What do those tags mean? what are those for? and what are the Formats?
My database -- mySQL
datasouce xml file -- test-ds.xml:
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/test</jndi-name>
<connection-url>jdbc:mysql://devsz-ma3.cn1.belton.com.hk:3306/test?useUnicode=true&characterEncoding=UTF-8</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>touchpanel</user-name>
<password>touchpanel</password>
</local-tx-datasource>
</datasources>
I need help, can you tell me some about that, thanks
next is my CMP entity bean:
package ejb.product;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;
* @ejb.bean name="Product"
* jndi-name="ProductBean"
* type="CMP"
* primkey-field="productId"
* schema="Product"
* cmp-version="2.x"
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.bean ejb-name="Product"
* jndi-name="ProductBean"
* @jonas.jdbc-mapping jndi-name="jdbc/test" jdbc-table-name="FL_PRODUCT"
* @ejb.persistence
* table-name="FL_PRODUCT"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product as a"
* signature="java.util.Collection findAll()"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.NAME = ?1"
* signature="java.util.Collection findByName(java.lang.String name)"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.DESCRIPTION = ?1"
* signature="java.util.Collection findByDescription(java.lang.String desc)"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE = ?1"
* signature="java.util.Collection findByBasePrice(double basePrice)"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product "
* signature="java.util.Collection findAllProducts()"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE > ?1"
* signature="java.util.Collection findExpensiveProduct(double maxPrice)"
* * @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE < ?1"
* signature="java.util.Collection findCheapProduct(double minPrice)"
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.finder-method-jdbc-mapping method-name="findAll"
* jdbc-where-clause=""
* @jonas.jdbc-mapping jndi-name="jdbc/test"
* jdbc-table-name="FL_PRODUCT"
public abstract class ProductBean implements EntityBean {
protected EntityContext ectx;
* The ejbCreate method.
* @ejb.create-method
public java.lang.String ejbCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
// EJB 2.0 spec says return null for CMP ejbCreate methods.
// TODO: YOU MUST INITIALIZE THE FIELDS FOR THE BEAN HERE.
// setMyField("Something");
System.out.println("Entering ProductBean.ejbCreate()");
setProductId(productId);
setName(name);
setDescription( desc);
setBasePrice(basePrice);
System.out.println("Leaving ProductBean.ejbCreate()");
return productId;
* The container invokes this method immediately after it calls ejbCreate.
public void ejbPostCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
* Returns the productId
* @return the productId
* @ejb.persistent-field
* @ejb.persistence
* column-name="PRODUCT_ID"
* sql-type="varchar"
* @ejb.pk-field
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="productId"
* jdbc-field-name="PRODUCT_ID"
public abstract java.lang.String getProductId();
* Sets the productId
* @param java.lang.String the new productId value
* @ejb.interface-method
public abstract void setProductId(java.lang.String productId);
* Returns the name
* @return the name
* @ejb.persistent-field
* @ejb.persistence
* column-name="NAME"
* sql-type="varchar"
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="name"
* jdbc-field-name="NAME"
public abstract java.lang.String getName();
* Sets the name
* @param java.lang.String the new name value
* @ejb.interface-method
public abstract void setName(java.lang.String name);
* Returns the description
* @return the description
* @ejb.persistent-field
* @ejb.persistence
* column-name="DESCRIPTION"
* sql-type="varchar"
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="description"
* jdbc-field-name="DESCRIPTION"
public abstract java.lang.String getDescription();
* Sets the description
* @param java.lang.String the new description value
* @ejb.interface-method
public abstract void setDescription(java.lang.String description);
* Returns the basePrice
* @return the basePrice
* @ejb.persistent-field
* @ejb.persistence
* column-name="BASE_PRICE"
* sql-type="double"
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="basePrice"
* jdbc-field-name="BASE_PRICE"
public abstract double getBasePrice();
* Sets the basePrice
* @param double the new basePrice value
* @ejb.interface-method
public abstract void setBasePrice(double basePrice);
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbActivate()
public void ejbActivate() throws EJBException, RemoteException {
System.out.println("ejbActivate() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbLoad()
public void ejbLoad() throws EJBException, RemoteException {
System.out.println("ejbLoad() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbPassivate()
public void ejbPassivate() throws EJBException, RemoteException {
System.out.println("ejbPassivate() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbRemove()
public void ejbRemove() throws RemoveException, EJBException, RemoteException {
System.out.println("ejbRemove() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbStore()
public void ejbStore() throws EJBException, RemoteException {
System.out.println("ejbStore() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
public void setEntityContext(EntityContext arg0) throws EJBException, RemoteException {
this.ectx = arg0;
/* (non-Javadoc)
* @see javax.ejb.EntityBean#unsetEntityContext()
public void unsetEntityContext() throws EJBException, RemoteException {
this.ectx = null;
}you can try this
<defaults>
<datasource>java:/jdbc/test</datasource>
<datasource-mapping>MySQL</datasource-mapping>
<create-table>false</create-table>
<remove-table>false</remove-table>
</defaults>
JaimeS -
What is the format of 0calmonth data in flat file
Hi,
What is the format for 0calmonth field data in flatfile to load data in to cube.
Thanks .Hi Alex,
Thanks for your response. Iam providing 0calmonth field data as 200904 ,200905 and further then at the time of loading it is throughing error like
Value '090420 ' of characteristic 0CALMONTH is not plausible BRAIN 27
Please suggest me.
Thanks. -
What is the format required in essbase side to show calendar icon in obiee
Hi All,
Currently we are bulidng dashboards with Essbase ASO cube as underlined multi-dimensional database.
Not sure essbase date is not showing as date format.
what is the format required in essbase side to show calendar icon in obiee
We tried format as "Obiee Date - Jan 1, 2007 12:00 AM.However no use.
Can someone assist on this issue how to proceed further
Thanks,
SatyaBI have actually seen this as a problem with Essbase Data sources...It takes this as Varchar. My time grains are till Month in current system so can't check...
May be this can help you out http://businessintelligence.ittoolbox.com/groups/technical-functional/hyperion-bi-l/obiee-essbase-as-source-time-dimension-using-between-operator-3399220
Else , there is unfortunately no workaround.
Check Christian's comment as well Re: Essbase Date Measures as DATE in OBIEE
Edited by: Deepak Gupta on 21-Sep-2011 23:48 -
Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?. I need the actual default value for a particualr preference.
About:config does show some default values but I need the source from which about:config picks up the default value.
Any help in this direction is greatly appreciated.
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)The prefs that aren't hidden if they are the default are stored in two JavaScript text files in the Firefox program folder
You can open them via these links in a Firefox tab:
<code>resource:///defaults/pref/firefox.js
resource:///greprefs/all.js
</code>
([/forum/1/702598]) -
What are the formats supported by AudioClip?
What are the formats supported by AudioClip? Is it the same as in Media?
It is resolved in the FAQ of site JavaFX.
-
When I call nifGetObjectDictionary on a Domain Index, what is the format of data returned
hello,
When I call nifGetObjectDictionary on an Active Schedule Domain Index (450) of NI Card, retrieved from S-OD -> DLL Link Schedule OD Index, what is the format of data returned? I received 0801C202FFFF000000 as data and it is not matching with FF-Spec (Field Device Access Agent, page 95).
Could you please let me know the format/structure of the data i received, so that i can parse them and understand?
Also let me know is there any API available in NI API to upload/read Schedule Domain?
Thanks
Shankar.Sorry for replying late!
We don't have the nifGetObjectDictionary function, so may I make a guess that you mean nifGetObjectDescription? If I'm right, there will be some trouble.
To be honest, basically we don't support the APIs which are not included in the "NI-FBUS CM Function Reference Manual". In further, would you please let me know how you find this kind of internal functions? We cannot support it until we verify the customer has bought the complete version of APIs package and this package is still in the support period. If it matches your case, would you please help me in the verification? And then we can support the details for your question later.
On the other hand, we don't have the APIS to upload/read Schedule Domain now. -
what is the format for 0calmonth2,0calquarter,0calweek,0calyear,0fiscper,0ficper3, 0halfyear1, 0weekday1
Hi Dominic,
0FISCPER is a NUMC 7 infoobject. And it takes your 003.200 seven symbols leaving the last symbol. Though, the output format is length of 8.
A'm not sure if you are dealing with external format (in this case try to enter 0032005) or with internal (then try 2005003).
Best regards,
Eugene -
I have an LG Revere 3-What is the format for ringtones?
I have an LG Revere 3-What is the format for ringtones?
Supported audio file format for LG Revere 3?
I asked this question about a month ago and didn't get a satisfactory answer. It seems like the phone software has not been updated from the VN150S in order to support bluetooth transfer of custom audio files. -
What is the format of LO data sources?
What is the format of LO data sources?
Hello,
for some of your (many) questions you can find answer by yourself, if you read the documentation (as each other in this forum) e.g. LIS-DataSources in documentation of business content. --> help.sap.com
Regards,
André
Edited by: André Klos on Jul 2, 2008 1:54 PM -
What is the format 0fiscper,0quarter,0quarter1,0fiscper3
what is the format 0fiscper,0quarter,0quarter1,0fiscper3
0fiscper,0quarter,0quarter1,0fiscper3
all same 6 digits format
0fiscper =PPYYYY 012004
indicated Period 01 year 2004 -
What is the best way to name a file?
What is the best way to name a file? Use "_" so that the characters make one, long name? Why do that?
Another take on naming files, particularly image files, is like this:
I use a file remaning application like Name Mangler to back, sequentially rename the photos. I put them in a folder with a similar name. Using the format I do, YYYY-MM-DD- Description-001.jpg, they are easy to sort by date by sorting alphanumerically.
OT -
What are the commands available to read a file from application server and
What are the commands available to read a file from application server and store the file into an internal table?
Hi,
To read a file from an Application Server to an Object there is a command in ABAP called <b>READ DATASET</b>. After that file is transported to that object you have to do a loop and put that data in an Internal Table.
This statement exports data from the file specified in dset into the data object dobj. For dobj, variables with elementary data types and flat structures can be specified. In Unicode programs, dobj must be character-type if the file was opened as a text file.
For dset, a character-type data object is expected - that is, an object that contains the platform-specific name of the file. The content is read from the file starting from the current file pointer. After the data transfer, the file pointer is positioned after the section that was read. Using the MAXIMUM LENGTH addition, the number of characters or bytes to be read from the file can be limited. Using ACTUAL LENGTH, the number of characters or bytes actually used can be determined.
In a Unicode program, the file must be opened with an arbitrary access type; otherwise, an exception that cannot be handled will be triggered.
If the file has not yet been opened in anon-Unicode program, it will be implicitly opened as a binary file for read access using the statement
OPEN DATASET dset FOR INPUT IN BINARY MODE.
. If a non-existing file is accessed, an exception that can be handled can be triggered.
Influence of Access Type
Files can be read independently of the access type. Whether data can be read or not depends solely on the position of the file pointer. If the latter is at the end of the file or after the file, no data can be read and sy-subrc will be set to 4.
Influence of the Storage Type
The import function will take place irrespective of the storage type in which the file was opened with the statement OPEN DATASET.
If the file was opened as a text file or as a legacy text file, the data is normally read from the current position of the file pointer to the next end-of-line marking, and the file pointer is positioned after the end-of-line marking. If the data object dobj is too short for the number of read characters, the superfluous characters and bytes are cut off. If it is longer, it will be filled with blanks to the right.
If the file was opened as a binary file or as a legacy-binary file, as much data is read that fits into the data object dobj. If the data object dobj is longer than the number of exported characters, it is filled with hexadecimal 0 on the right.
If the specified storage type makes conversion necessary, this is executed before the assignment to the data object dobj. Afterwards, the read data is placed, byte by byte, into the data object.
System Fields
sy-subrc Meaning
0 Data was read without reaching end of file.
4 Data was read and the end of the file was reached or there was an attempt to read after the end of the file.
Thanks,
Samantak.
<b>Rewards points for useful answers.</b> -
What are the quicktime settings to convert mpg4 files to streaming video?
What are the quicktime settings to convert mpg4 files to streaming video?
http://www.tansee.com/what-is-mp4-video.html
"hint tracks" are required. QuickTime Player Pro can add them. -
What is the best way to safeguard my files and pictures before I send off my MacBook Pro to get fixed? I am running Mavericks and use an AirPort Time Machine to back-up all my files.
Back up all data on the internal drive(s) before you hand over your computer to anyone. You need at least two independent backups to be completely safe. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you know how to restore to an empty drive.) Don’t erase the recovery partition, if present.
Keeping your confidential data secure during hardware repair
Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
*An SSD doesn't need to be zeroed.
Maybe you are looking for
-
64-bit logic pro won't open. Dyld error message
I am trying to open the 64-bit version of logic pro 9.1.1 but it keeps crashing when trying to open. I can't work out why it won't open but It gives the following error in the Problem Report if anyone can help me out here: Exception Type: EXC_BREAKPO
-
Trouble Sync Outlook 2002 (Windows XP) with Palm Centro
I am in the process working through the suggestions made within this forum, but have reach a sticking point. The Palm setup tech help by phone told me that I needed to have the Palm 4.2 version installed. In many of the suggestions I am seeing direc
-
How to change the font size of text and case in smartforms
hi, could any one explain how to change the font size of text in smartforms. ex. previously i had taken P4 left aligned and C6 but now i want to decrease the font without making it bold. pl......... guide me secondly the value which are coming
-
Exchange Server 2010 SP3 Installation with UM Language Pack Error
Hi All, Kindly help me in this issue, When I Install Exchange Server 2010 SP3, I faced an error in UM role setup as the below, and when i searched on it i found solution like "Download the UM language packs and tried to install directly" so i downloa
-
I have an ipad and it's been refusing to connect to the wifi lately no matter where I go, it used to work and then all of a sudden it wont. i type in the password and it comes up with 'unable to connect to wifi' anyone know how I can fix it?