How to convert datetime stamp to unix time in Crystal Reports?

佐手、 提交于 2019-12-11 05:45:00

问题


I need to convert a datetime stamp to Unix time. I understand that this is not the easiest thing to do nor a common thing to do, but I need to do it. I have been searching for how to do this for a few hours.


回答1:


It turns out that you can use datediff("s", date("1970-01-01 00:00:00"), {date_column}) to get the unix time stamp in Crystal.



来源:https://stackoverflow.com/questions/20435775/how-to-convert-datetime-stamp-to-unix-time-in-crystal-reports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!