cancel
Showing results for 
Search instead for 
Did you mean: 

Separate DateTime Fields

Former Member
0 Kudos

I want to rule that seperate DateTime Field something like below. But export value is not expected.

My datetime filed's name is zzStartDateTime. I used screen fields like below. that's types are date, time and default. Default and time fields has correct value but date field is wrong. The all field fill update rule and all same.

how can fix that problem.

Thank you.

Adem.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

If all the values are coming from one field for display you can do an update rule on the screen fields

for time:
TIME

- ZZStartDateTime
- t={HH:mm}

The date field

Date

- ZZStartDateTime

- d={dd/mm/yyyy}

You can look at the format keys here for Date: http://help.sap.com/saphelp_smp305sdk/helpdata/en/7c/1705f970061014b94a962bb56c29a0/content.htm

Time: http://help.sap.com/saphelp_smp305sdk/helpdata/en/7c/17410170061014a0a9beb4a51027b1/content.htm?fram...

mark_pe
Active Contributor
0 Kudos

Adem,

Hi. We are trying to understand your question.  We can see from the picture that there is something wrong with the date (field 1 ~ 21850).  Was this cause by a rule or by the date type of the property?

Normally you can either use Date or Time or Duration or  Date and Time to accomplish what you want to record.  From here they have syntax that will be followed.  See picture from the Agentry editor.  The picture shows if you add an object that you can select a date/time/duration property type.

From the results of the property on how it is displayed on the screen, you can use other rules like @LEFT (take X character of the string), @RIGHT to help format the display.

Hope this helps.

SAP Mobile Platform Team