to see the date is converted to text correctly. It's possibly Excel that displays them different ... which was not mentioned in your original question. You need to place a ' character before your order date, so it's treated as text by Excel.
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
@Luc Van Dyck,thxs and sorry for not clarifying about the excel, yes it formats on message,what do you mean by placing a character before the order date.
Answers
Use the FORMAT function.
Regards
G.
See here:
viewtopic.php?f=23&t=24043
http://www.BiloBeauty.com
http://www.autismspeaks.org
i added ''''+format(orderdate) and it good now.