Display datetime field to current date using javascript
1
2
| //set date field to now (works on date and date time fields)Xrm.Page.data.entity.attributes.get("new_date1").setValue(new Date()); |
No comments:
Post a Comment
Note: only a member of this blog may post a comment.