如何将按日期时间分组的组树的格式更改为dd:mm:yyyy格式 [英] How to change the format of Group tree grouped by datetime in to dd:mm:yyyy format

查看:70
本文介绍了如何将按日期时间分组的组树的格式更改为dd:mm:yyyy格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要的是,在我的Crystal报表中,我按日期时间值对数据进行分组,但在我的Crystal仓库的组树中,日期以yy:mm:dd的格式显示. 我需要将此格式更改为dd:mm:yyyy格式...
请帮我...

我身处困境,请立即帮我...

what i need is, In my crystal report i am grouping data by datetime value but in the group tree of my crystal repot the date is showing in the format yy:mm:dd..
I need to change this format to dd:mm:yyyy format...
Plz help me...

I am in a block, plz help me now...

推荐答案

如果您使用的是日期"字段,则可以执行以下步骤.

1.在组日期字段上单击右键.
2.单击格式化对象
3.转到日期标签
4.更改为所需的格式.
If you are using Date field you can follow the below steps.

1. Right Click on the group date field.
2. Click Format Object
3. Goto Date Tab
4. Change to the format you need.


只需进入上下文菜单中的更改组",然后单击选项选项卡.

选择将公式用作组名"的选项,然后使用
ToText({tbl_XXXXXXXX.SpeciminDate},"dd-MMM-yyyy")或您想要的任何格式.
Just go into the "Change Group" on the context menu and click the options tab.

Select the option for "use formula as group name" and use the
ToText ({tbl_XXXXXXXX.SpeciminDate},"dd-MMM-yyyy") or whatever format you wish.


这篇关于如何将按日期时间分组的组树的格式更改为dd:mm:yyyy格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆