Excel VBA查询从Access数据库中获取0的时间值

时间:2017-11-26 16:53:52

标签: excel vba excel-vba

我的VBA查询正确地从Access访问Excel中获取数据。但是,所有与时间相关的字段的值将变为零。我该怎么办?

def gond7(n):
    x = 0
    amount = x ** 11
    while amount <= n:
        result = amount
        x += 1
        amount = x ** 11
    return result


print gond7(1000000)

日期以数字形式出现,但是当我们格式化时,这是正确的。但是,时间字段显示为零 How to connect to postgres RDS from AWS Lambda

Screen shot of the excel result 任何帮助高度赞赏。

0 个答案:

没有答案