Skip to content

Commit aca053f

Browse files
authored
Create Readme.md
This script returns the date from GlideDateTime objects in email body.
1 parent 7cf9aaf commit aca053f

File tree

1 file changed

+10
-0
lines changed
  • Mail Scripts/Convert DateTime to Date

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Use this mail script to extract the date from GlideDateTime objects and use them in your email notification.
2+
example: 2024:10:29 18:18:52 to 2024:10:29
3+
4+
Use case:
5+
Print just the date in email body from the GlideDateTime object.
6+
7+
Solution:
8+
Create a mail script as shown in script.js and then call this mail script in email body using ${mail_script: your mail script name)
9+
10+

0 commit comments

Comments
 (0)